mod_jk only usable from localhost

2003-12-17 Thread Jeremy Whitlock
Tomcat List,
I have installed Apache+Tomcat via mod_jk.  I have it
configured so that I can use Tomcat from Apache but it only works from
the localhost.  If I:
 
http://localhost/tomcat-docs
 
it works but if I do:
 
http://computername/tomcat-docs
http://computerip/tomcat-docs
 
it doesn't work.  Is there something special you have to do to make
mod_jk work from computers other than localhost?  Thanks,
 
Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-8557
http://www.starprecision.com 
 


RE: LifecycleException

2003-12-10 Thread Jeremy Whitlock
I had this same problem yesterday and it was because the manager.xml
file was looking in the wrong directory for webapps and once I
modified it to work properly, manager loaded and I didn't get the
LifecycleException error.  There should be another error before the
LifecycleException to tell you why your portion of Tomcat wasn't loaded.
Hope this helps, Jeremy

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 10, 2003 6:47 AM
To: Tomcat Users List
Subject: RE: LifecycleException


Howdy,
This exception happens because server is trying to remove a child
element of a container (in this case a StandardContext called TEMPLATE)
that has not been started.  Chances are there are errors earlier in the
log telling you that context could not be started for some reason -- fix
that reason and this will go away.  As for what a LifecycleException is:
see the catalina javadocs at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/index.
html.  Feel free to write a better document and contribute it ;)

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Jerald Powel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 12:15 AM
To: Tomcat Users List
Subject: LifecycleException


Hi,

Can someone please expand on a log entry LifecycleException (more
below), or direct me towards Exception documentation?

Thanks alot

G

LifecycleException:  Container StandardContext[/TEMPLATE] has not been
started
 at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643
)
 at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1
036)
..


-
   BT Yahoo! Broadband - Save £80 when you order online today. Hurry!
Offer
ends 21st December 2003. The way the internet was meant to be.



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat and SSL

2003-12-09 Thread Jeremy Whitlock
Tomcat List,
I currently have the following setup:
 
Apache 2.0.48 + SSL (OpenSSL 0.9.7c)
Tomcat 5.0.16
mod_jk 1.2
 
I can successfully access any page served by Apache over
https but if I try to connect to Tomcat over SSL, it doesn't work.  Now,
I've read the docs located at:
 
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html
 
and it mentions two that if Tomcat is the standalone server, it could
have SSL configured by un-commenting the SSL HTTP/1.1 Connector but if
you are using Tomcat as a JSP/Servlet Container behind another server,
you should configure the primary web server to handle the SSL
connections from users.  How would one do this?  If I go to:
 
https://localhost https://localhost/ 
 
everything works fine but if I go to:
 
https://localhost/manager
 
I get the 500 Internal Server Error error from Apache.  What must I do
to get Tomcat's connections from Apache to be SSL encrypted?  Thanks,
 
Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-8557
http://www.starprecision.com 
 


RE: tomcat 4.1.27 with jvm 1.4.2_02=crashes

2003-11-10 Thread Jeremy Whitlock
David,
Did you just do a JVM upgrade?  Did you install Tomcat after you
did the JVM install/upgrade?  I did the same thing and I had to
reinstall Tomcat.  Chances are you had Tomcat running when you did your
upgrade, as I did stupidly, and you have to reinstall tomcat.  Laters,
Jeremy

-Original Message-
From: David Muller [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 10, 2003 9:26 AM
To: [EMAIL PROTECTED]
Subject: tomcat 4.1.27 with jvm 1.4.2_02=crashes

Anyone else finding problems with tomcat and the latest j2sdk
(1.4.2_02)?  We think we may need to go back to 1.4.2_01.
-Dave


David E. Muller
Configuration Manager
Overture Services, Inc.  
www.overture.com
Office: 760.476.6406 
Mobile: 760.458.2714 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Serialized Java Beans.

2003-10-30 Thread Jeremy Whitlock
Andoni,
You can't serialize a class if it doesn't implement the
Serializable Interface.

-Original Message-
From: Andoni [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 30, 2003 10:17 AM
To: Tomcat Users List
Subject: Re: Serialized Java Beans.

My JavaBeans are being stored in session even though they don't
explicitly
implement java.io.Serializable.

What am I missing?  Should I add it?

Andoni.


- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 5:19 PM
Subject: RE: Serialized Java Beans.



Howdy,
It's good practice to make beans that you put in a session Serializable.
Tomcat indeed serializes sessions by default, and if you put a
non-Serializable bean in the session you'll get a runtime exception.

However, tomcat doesn't due this to free memory under load as much as it
does it to persist sessions across server restarts.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Andoni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 10:10 AM
To: Tomcat Users List
Subject: Serialized Java Beans.

Hello,

I recently read that if a JavaBean implements Serializable the servlet
engine can write it to disk if it is not being used and if it's
algorithm
decides this would be a good idea.

Can anybody tell me if Tomcat does this?  Should I be sure to always
implement Serializable in JavaBeans that I am storing in session?

The actual quote from the book is:

Occasionally some servers may choose to write these attributes to disk
to
free memory.  To take advantage of this functionality, it is a good
idea to
ensure that any objects placed inside a session implement the
java.io.Serializable interface so that the object may be written to a
stream. In a similar manner, applications that execute inside a
distributed
environment may have their entire sessions and session attributes
passivated and reactivated on a different machine.  If our application
is
marked as distributable then it is important that any session
attributes
are Serializable to support this.

Wrox: Professional SCWCD Certification: ISBN 1-86100-770-1


Thanks,

Andoni.



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary
and/or privileged.  This e-mail is intended only for the individual(s)
to
whom it is addressed, and may not be saved, copied, printed, disclosed
or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Java Upgrade Messed Up Tomcat

2003-10-29 Thread Jeremy Whitlock
Tomcat-List,
I just upgraded my Java version to 1.4.2_02 from
1.4.1_01 and now, Tomcat doesn't work.  Anyone know why this would
happen?  Thanks,
 
Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-8557
http://www.starprecision.com 
 


RE: Java Upgrade Messed Up Tomcat

2003-10-29 Thread Jeremy Whitlock
\transaction.log (The system cannot
find the path specified)
at java.io.FileOutputStream.openAppend(Native Method)
at
java.io.FileOutputStream.init(FileOutputStream.java:174)
at
java.io.FileOutputStream.init(FileOutputStream.java:102)
at
org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
at
org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:15
6)
at
org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:248)
at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java
:124)
at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java
:88)
at
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator
.java:640)
at
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator
.java:598)
at
org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConf
igurator.java:523)
at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.j
ava:407)
at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.j
ava:431)
at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConver
ter.java:456)
at
org.apache.log4j.LogManager.clinit(LogManager.java:145)
at
org.apache.log4j.Category.getInstance(Category.java:517)
at org.openejb.util.Logger.getInstance(Logger.java:109)
at org.openejb.OpenEJB.init(OpenEJB.java:150)
at org.openejb.OpenEJB.init(OpenEJB.java:130)
at
org.openejb.loader.EmbeddedLoader.load(EmbeddedLoader.java:71)
at
org.openejb.loader.EmbeddingLoader.load(EmbeddingLoader.java:84)
at
org.openejb.client.LocalInitialContextFactory.getInitialContext(LocalIni
tialContextFactory.java:65)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at
javax.naming.InitialContext.init(InitialContext.java:219)
at
javax.naming.InitialContext.init(InitialContext.java:195)
at
org.openejb.loader.LoaderServlet.init(LoaderServlet.java:82)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:918)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3279)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3421
)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:23
2)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:155)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:2
61)
at
org.apache.catalina.startup.CatalinaService.execute(CatalinaService.java
:172)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:
428)
 
-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 29, 2003 10:47 AM
To: Tomcat ([EMAIL PROTECTED])
Subject: Java Upgrade Messed Up Tomcat
 
Tomcat-List

RE: Java Upgrade Messed Up Tomcat

2003-10-29 Thread Jeremy Whitlock
I agree that the error is straight forward but it doesn't explain why
upgrading my JDK would cause this problem and how to fix it.  I
reinstalled Tomcat and all is well now.  Thanks, Jeremy
 
-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 29, 2003 10:54 AM
To: Tomcat ([EMAIL PROTECTED])
Subject: RE: Java Upgrade Messed Up Tomcat
 
Here is the output to stderr.log:
 
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: logs\openejb.log (The system cannot find
the path specified)
at java.io.FileOutputStream.openAppend(Native Method)
at
java.io.FileOutputStream.init(FileOutputStream.java:174)
at
java.io.FileOutputStream.init(FileOutputStream.java:102)
at
org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
at
org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:15
6)
at
org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:248)
at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java
:124)
at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java
:88)
at
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator
.java:640)
at
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator
.java:598)
at
org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConf
igurator.java:523)
at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.j
ava:407)
at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.j
ava:431)
at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConver
ter.java:456)
at
org.apache.log4j.LogManager.clinit(LogManager.java:145)
at
org.apache.log4j.Category.getInstance(Category.java:517)
at org.openejb.util.Logger.getInstance(Logger.java:109)
at org.openejb.OpenEJB.init(OpenEJB.java:150)
at org.openejb.OpenEJB.init(OpenEJB.java:130)
at
org.openejb.loader.EmbeddedLoader.load(EmbeddedLoader.java:71)
at
org.openejb.loader.EmbeddingLoader.load(EmbeddingLoader.java:84)
at
org.openejb.client.LocalInitialContextFactory.getInitialContext(LocalIni
tialContextFactory.java:65)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at
javax.naming.InitialContext.init(InitialContext.java:219)
at
javax.naming.InitialContext.init(InitialContext.java:195)
at
org.openejb.loader.LoaderServlet.init(LoaderServlet.java:82)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:918)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3279)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3421
)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:23
2)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:155)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:2
61)
at
org.apache.catalina.startup.CatalinaService.execute(CatalinaService.java
:172)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke

RE: web.xml editor

2003-10-23 Thread Jeremy Whitlock
Luiz,
Don't pay if you don't have to.  Eclipse has many XML Editors
but the best I've found is called BuddyXML.  If you go to:

http://eclipse-plugins.2y.net/eclipse/index.jsp

you can find many Eclipse Plugins.  Eclipse is awesome and can
be your universal editor for many languages.  It's even an IDE for many
languages as well.  Also, I have to second the idea for NetBeans.  It's
great as well although not as fast or modular as Eclipse.  Laters,
Jeremy

P.S. - If you are ONLY looking for an XML IDE/Editor, Cooktop is the
best free one I've found.  Get it here:  http://www.xmlcooktop.com/
(It's only for Windows though)

-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 23, 2003 10:44 AM
To: Tomcat Users List
Subject: Re: web.xml editor

Luiz,

You should  try oXygen XML editor from http://www.oxygenxml.com.
It can run stand-alone or as an Eclipse plug-in.  (Eclipse is an IDE 
that IBM
open sourced; also worth a look).There is a 30 day trial version of 
oXygen
and if you decide to purchase it's reasonable (~ $45 US).

-Robert

Luiz Ricardo wrote:

Hi everyone,

I would like to know if someone here uses some free application to
edit web.xml files, likely this application was web-based.

I also would like to know if Tomcat Team intends to do something like
this.

Thanks in advance,

Luiz Ricardo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Server Locale and Supported Languages

2003-10-03 Thread Jeremy Whitlock
Tomcat List,
I am trying to help a friend with a problem where his
JSP pages served by Tomcat can't display characters that are of
ISO-8859-1 charset.  I have no problem showing them on my box,
http://65.116.245.3/Jeremy/Charset.jsp , but he still can't get his to
work using the code I am using.  Is there something in Tomcat that can
create/cause this problem?  Thanks,
 
Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-0559
http://www.starprecision.com 
 


RE: Server Locale and Supported Languages

2003-10-03 Thread Jeremy Whitlock
Yoav,
That is a good place to start but that thread dead ended there.
I'll search Google in the mean time.  Anyways, if anyone has an answer
off the top of their heads, let me know.  Thanks, Jeremy

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 03, 2003 12:33 PM
To: Tomcat Users List
Subject: RE: Server Locale and Supported Languages


Howdy,
Is there a difference between his and your JAVA_OPTS?  Maybe this will
help:
http://lists.freebsd.org/pipermail/freebsd-java/2003-July/000545.html

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 2:22 PM
To: Tomcat
Subject: Server Locale and Supported Languages

Tomcat List,
I am trying to help a friend with a problem where his
JSP pages served by Tomcat can't display characters that are of
ISO-8859-1 charset.  I have no problem showing them on my box,
http://65.116.245.3/Jeremy/Charset.jsp , but he still can't get his to
work using the code I am using.  Is there something in Tomcat that can
create/cause this problem?  Thanks,

Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-0559
http://www.starprecision.com




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: sloppy English

2003-09-22 Thread Jeremy Whitlock
Chris,
I agree and disagree.  It is always good to do thing proper but
who are we to expect things from the end users?  No one here has a right
to enforce or even demand such a change.  If you notice, I always have
proper syntax and punctuation as well but I do not demand it of others.
If it's hard to read, approach it on a case-by-case basis but most of
the time, it's very understandable, no matter what u say.  ;)  Laters,
Jeremy

-Original Message-
From: Christopher Williams [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 22, 2003 10:48 AM
To: [EMAIL PROTECTED]
Subject: OT: sloppy English

A lot of posts to this mailing list seem to use really lazy English: I
consistently in lowercase, missing punctuation, missing capital letters
at
the start of sentences, etc.

Two things:
1. A sentence which goes something like must i do x or can i do y is
hard
to read.
2. Writing like this makes you sound like a moron.

We're all educated people or otherwise we wouldn't be computer
programmers.
So let's maintain some reasonable standards.

Chris Williams.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: OT: sloppy English

2003-09-22 Thread Jeremy Whitlock
Tim,
Very well said...and understandable too.  ;)

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 22, 2003 11:05 AM
To: Tomcat Users List
Subject: Re: OT: sloppy English

i disaggree, unforuntealy i don't have time to perfom complete spel
checks or 
fix grammar on all words. i try to be as coherent as possible but since
i do 
this for free, you get what your pay for. please killfile me if it is
that 
bothersome.

I don't mind bad grammar and spelling. I detest those which don't read
the 
docs, the faq and search the archives before asking a question.

I'll take bad grammar over bad questions any day.

-Tim

Christopher Williams wrote:

 A lot of posts to this mailing list seem to use really lazy English:
I
 consistently in lowercase, missing punctuation, missing capital
letters at
 the start of sentences, etc.
 
 Two things:
 1. A sentence which goes something like must i do x or can i do y is
hard
 to read.
 2. Writing like this makes you sound like a moron.
 
 We're all educated people or otherwise we wouldn't be computer
programmers.
 So let's maintain some reasonable standards.
 
 Chris Williams.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: EJB in tomcat

2003-09-09 Thread Jeremy Whitlock
Anson,
The one I've used for over a year and a half is OpenEJB.  It's
an EJB container and is 100% pluggable into Tomcat.  Here is the url:

http://openejb.sourceforge.net

If you need any help, let me know.  Thanks, Jeremy

-Original Message-
From: zeallousbigpond.net.au [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 08, 2003 6:17 PM
To: [EMAIL PROTECTED]
Subject: EJB in tomcat

hi,

 I would like to ask, can Tomcat work with Enterprise 
Javabeans? 'cause I read from the Java site...it says that we need a 
BEA server? Is it necessary? Or tomcat it self already has those 
libraries.

Anson
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Development Tools

2003-09-09 Thread Jeremy Whitlock
I agree with Mike.  I have been using NetBeans for a long time now and
there is nothing it can't do.  There are alternatives but NetBeans is my
suggestion.  Laters, Jeremy

-Original Message-
From: Mike Hulse [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 09, 2003 8:19 AM
To: Tomcat Users List
Subject: Re: Development Tools

You can try http://www.netbeans.org I have been using netbeans for
several
years.  Very good and very reliable.

Mike

- Original Message -
From: Nihita [EMAIL PROTECTED]
To: Tomcat [EMAIL PROTECTED]
Sent: Tuesday, September 09, 2003 8:54 AM
Subject: Development Tools


Are there any free available development tools like Oracle Developer
suite
for developing J2EE application which are also Tomcat complaint ? And
will
the forms and pages developed using Oracle Internet development Suite
work
with tomcat ?

Thanks
Nihita




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Development Tools

2003-09-09 Thread Jeremy Whitlock
Code completion is available in NetBeans.  It's very good too.  It even
has the Java Development Documentation update as you type so you can see
the API information for the current item you are typing.  It's very
solid.

-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 09, 2003 10:17 AM
To: 'Tomcat Users List'
Subject: RE: Development Tools

I also use TextPad/ANT.  For simple/small projects, it's a breeze.  I
found this for code-completion, but haven't been brave enough to try it
yet.
http://www.textpad.com/add-ons/files/utilities/codecompleter1_0.zip

 -Original Message-
 From: Christopher Williams [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 09, 2003 11:01 AM
 To: Tomcat Users List
 Subject: Re: Development Tools
 
 
 Having suggested Netbeans and Eclipse as possible development 
 environments, I've been using Textpad and Ant for about six 
 months since I failed to migrate JBuilder 6 to a new system 
 (the license info got screwed up somehow).  It works for me.  
 The one thing I really miss is code completion, though...
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: E-Mail to CompuServe Customer Service

2003-08-22 Thread Jeremy Whitlock
This is a freaking joke.

-Original Message-
From: CompuServe Customer Service [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 22, 2003 4:14 PM
To: Tomcat Users List
Subject: E-Mail to CompuServe Customer Service

Thank you for your e-mail message to CompuServe Customer Service.
In order to improve our service to members, the general account 
70006,101 ([EMAIL PROTECTED]) has now been replaced 
with new mailboxes dedicated to each country/region.

Please re-send your message to one of the following e-mail 
addresses and a local CompuServe Representative will respond to 
you via e-mail:

United States and Canada:
Technical Support - [EMAIL PROTECTED]
General Support - [EMAIL PROTECTED]
Business Account Support - [EMAIL PROTECTED]

United Kingdom: 
Technical Support - [EMAIL PROTECTED]
General Support - [EMAIL PROTECTED]
Business Account Support - [EMAIL PROTECTED]

Germany and Austria: 
Technische Mitgliederbetreuung - [EMAIL PROTECTED]
Allgemeine Fragen - [EMAIL PROTECTED]
Fragen zur Abrechnung - [EMAIL PROTECTED]
Firmenkundenbetreuung - [EMAIL PROTECTED]

France:
Assistance Technique - [EMAIL PROTECTED]
Assistance Technique Mac - [EMAIL PROTECTED]
Gestion de votre Compte Personnel - [EMAIL PROTECTED]
Gestion de votre Compte Société - [EMAIL PROTECTED]


Netherlands: 
Technical Support - [EMAIL PROTECTED]
General Support - [EMAIL PROTECTED]
Business Account Support - [EMAIL PROTECTED]

Switzerland:
Fragen zur Abrechnung (billing-issues) - [EMAIL PROTECTED] 
Allgemeine Anfragen (general demands) - [EMAIL PROTECTED] 
Technische Mitgliederbetreuung (technical support) - [EMAIL PROTECTED]  
Firmenkundenbetreuung (CBA-issues) - [EMAIL PROTECTED]

All other European Countries: 
Technical Support - [EMAIL PROTECTED]
General Support - [EMAIL PROTECTED]
Business Account Support - [EMAIL PROTECTED]

Japan - CompuServe/NIFTYServe:
General Support - [EMAIL PROTECTED]

Australia/Pacific:
General Support - [EMAIL PROTECTED]

Mexico: 
General Support - [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: HTTP Status 500

2003-07-29 Thread Jeremy Whitlock
I had the same problem and I think that it was related to the CLASSPATH
for Java.  If your JSP doesn't work properly but the servlet does, it
means that the JVM is working properly but not the Java Compiler.  Make
sure you have the JAVA_HOME variable set and all proper directories in
the CLASSPATH related to Java.  Laters, Jeremy

-Original Message-
From: Marco Miedl [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 29, 2003 10:06 AM
To: Tomcat Users List
Subject: Re: Re: HTTP Status 500




 Even those that are servlets and not JSP?


The Servlet Examples work perfect. Only the JSP Examples didn't work.
It's
very strange ;-)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: HTTP Status 500

2003-07-29 Thread Jeremy Whitlock
You need to have the bin directory of your Java 2 SKD installation in
your CLASSPATH as well.  Give that a try and let me know.  Later, Jeremy

-Original Message-
From: Marco Miedl [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 29, 2003 10:39 AM
To: Tomcat Users List
Subject: Re: Re: HTTP Status 500

 I had the same problem and I think that it was related to the
CLASSPATH
 for Java.  If your JSP doesn't work properly but the servlet does, it
 means that the JVM is working properly but not the Java Compiler.
Make
 sure you have the JAVA_HOME variable set and all proper directories in
 the CLASSPATH related to Java.  Laters, Jeremy

JAVA_HOME is set and I included now the SDK main directory and all
subdirectorys to the PATH. It doesn't work. Tomcat generates the Java
Sourcecode (in the work directory) but isn't able to compile the *.java
files


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: (How to) Tomcat as a Linux service

2003-07-18 Thread Jeremy Whitlock
Euclides,
Save the attached file in /etc/init.d/ and update the paths to
suit your needs.  Once that's done, you can use it like any other
service.  Later, Jeremy



-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED] 
Sent: Friday, July 18, 2003 4:45 PM
To: '[EMAIL PROTECTED]'
Subject: (How to) Tomcat as a Linux service

Hi everybody,
where can i find tips about how  to make TomCat be a Linux's service?
Regards,
Euclides.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

#!/bin/bash
#
# Startup script for Jakarta Tomcat
#
# chkconfig: 345 84 16
# description: Jakarta Tomcat Java Servlet/JSP Container



TOMCAT_HOME=/usr/local/tomcat/tomcat-4.1.18
TOMCAT_START=/usr/local/tomcat/tomcat-4.1.18/bin/startup.sh
TOMCAT_STOP=/usr/local/tomcat/tomcat-4.1.18/bin/shutdown.sh

#Necessary environment variables
export CATALINA_HOME=/usr/local/tomcat/tomcat-4.1.18
export JAVA_HOME=/usr/java/jdk1.3.1_07
export LD_KERNEL_ASSUME=2.2.5

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = no ]  exit 0

#Check for tomcat script
if [ ! -f $TOMCAT_HOME/bin/catalina.sh ]
then
echo Tomcat not available...
exit
fi

start() {
echo -n Starting Tomcat: 
daemon $TOMCAT_START
echo
touch /var/lock/subsys/tomcatd
# We may need to sleep here so it will be up for apache
#sleep 5
#Instead should check to see if apache is up by looking for http.pid
}

stop() {
echo -n $Shutting down Tomcat: 
daemon $TOMCAT_STOP
rm -f /var/lock/subsys/tomcatd.pid
echo
}

status() {
ps ax --width=1000 | grep [o]rg.apache.catalina.startup.Bootstrap start | awk 
'{printf $1  }' | wc | awk '{print $2}'  /tmp/tomcat_process_count.txt
   read line  /tmp/tomcat_process_count.txt
if [ $line -gt 0 ]; then
echo -n tomcatd ( pid 
ps ax --width=1000 | grep [o]rg.apache.catalina.startup.Bootstrap start | awk 
'{printf $1  }'
echo -n ) is running...
else
echo -n Tomcat is stopped
fi
}

case $1 in
start)
start
;;
 stop)
stop
;;
 restart)
stop
sleep 3
start
;;
 status)
status
;;
 *)
echo Usage: tomcatd {start|stop|restart|status}
 exit 1
esac


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: FTP server recommendation

2003-06-20 Thread Jeremy Whitlock
Brian,
Windows 2000 Server has it's own FTP Server built in.  IIS does
it very easily.  I am all for Open Source but if you paid for it, which
you did, might as well use it.  HTH, Jeremy

-Original Message-
From: Brian Menke [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 20, 2003 2:39 PM
To: Tomcat Users List
Subject: FTP server recommendation

I know this isn't the most appropriate place to ask this, but I depend
on
the insight of this group to find out about all kinds of technical stuff
that just happens to be part of an email. It's where I heard first about
things like Stuts, JSTL, etc. So here's the question.

I want to set up a free FTP server on my windows 2000 server. I've done
a
google search and found one called War FTP. I was curious if anyone had
any
experience with this, or could recommend a good one? I'm not a hard core
FTP'er but I do need to be able to provide different people access to
different directories.

-Brian

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 1:21 PM
To: Tomcat Users List
Subject: RE: basic logging question



Howdy,

the methods of org.apache.catalina.logger.FileLogger or log4j's Logger
class so that i can turn logging on and off and can use various levels
like
debug,info,warn,errors etc. I tried to import
org.apache.catalina.logger.FileLogger in java servlet, but it says
class
not found. I do have commons-logging under server-root/common/lib
folder.
Please guide me where am i going wrong? also if anyone who has log4j
under

Don't use tomcat's internal Logger facilities, as they are
container-specific.  Instead, choose between using log4j by yourself or
using the commons-logging that's included with tomcat.

If you want to use commons-logging, in your servlet:

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

Declare a private static Log:
private static Log theLog;

Then in the init() method of your servlet, or in static initialization:
theLog = LogFactory.getLog(getClass());

Now you can use it.  For more details, read the commons-logging
documentation.

If you want to use log4j directly, the code is fairly similar to the
above, except you don't need a LogFactory, you just have
org.apache.log4j.Logger and its getLogger(...) call.

You will need to configure log4j (read its docs for how to do this) or
commons-logging (read its docs for how to do this) if you find tomcat's
default configuration insufficient (as you likely will).

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary
and/or privileged.  This e-mail is intended only for the individual(s)
to
whom it is addressed, and may not be saved, copied, printed, disclosed
or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: FTP server recommendation

2003-06-20 Thread Jeremy Whitlock
Brian,
You do install IIS but if you have the Web Portion of IIS not
running (Disabled), no harm no foul.  I understand your use of Apach,
nothing better.  It's very easy to use for FTP from the IIS Suite
though.  Setting up users and directories is a snap.  I wouldn't advise
if I weren't doing it myself.  I use it SOLELY for FTP and it's a dream.
Well...it's not a dream as it reboots sporadically.  ;)  Later, Jeremy

-Original Message-
From: Brian Menke [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 20, 2003 2:44 PM
To: Tomcat Users List
Subject: RE: FTP server recommendation

Thanks for the input Jeremy. I did pay for it, but it didn't seem
intuitive
to me to set up users and directory access. Also, I thought that I had
to
install IIS to use it, and I don't want to do that since I have Apache
running on it.

-Brian

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 1:38 PM
To: 'Tomcat Users List'
Subject: RE: FTP server recommendation


Brian,
Windows 2000 Server has it's own FTP Server built in.  IIS does
it very easily.  I am all for Open Source but if you paid for it, which
you did, might as well use it.  HTH, Jeremy

-Original Message-
From: Brian Menke [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 2:39 PM
To: Tomcat Users List
Subject: FTP server recommendation

I know this isn't the most appropriate place to ask this, but I depend
on
the insight of this group to find out about all kinds of technical stuff
that just happens to be part of an email. It's where I heard first about
things like Stuts, JSTL, etc. So here's the question.

I want to set up a free FTP server on my windows 2000 server. I've done
a
google search and found one called War FTP. I was curious if anyone had
any
experience with this, or could recommend a good one? I'm not a hard core
FTP'er but I do need to be able to provide different people access to
different directories.

-Brian

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 1:21 PM
To: Tomcat Users List
Subject: RE: basic logging question



Howdy,

the methods of org.apache.catalina.logger.FileLogger or log4j's Logger
class so that i can turn logging on and off and can use various levels
like
debug,info,warn,errors etc. I tried to import
org.apache.catalina.logger.FileLogger in java servlet, but it says
class
not found. I do have commons-logging under server-root/common/lib
folder.
Please guide me where am i going wrong? also if anyone who has log4j
under

Don't use tomcat's internal Logger facilities, as they are
container-specific.  Instead, choose between using log4j by yourself or
using the commons-logging that's included with tomcat.

If you want to use commons-logging, in your servlet:

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

Declare a private static Log:
private static Log theLog;

Then in the init() method of your servlet, or in static initialization:
theLog = LogFactory.getLog(getClass());

Now you can use it.  For more details, read the commons-logging
documentation.

If you want to use log4j directly, the code is fairly similar to the
above, except you don't need a LogFactory, you just have
org.apache.log4j.Logger and its getLogger(...) call.

You will need to configure log4j (read its docs for how to do this) or
commons-logging (read its docs for how to do this) if you find tomcat's
default configuration insufficient (as you likely will).

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary
and/or privileged.  This e-mail is intended only for the individual(s)
to
whom it is addressed, and may not be saved, copied, printed, disclosed
or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: book on EJB

2003-04-01 Thread Jeremy Whitlock
Chris,
I tried Jonas and JBoss and never got them working correctly
with Tomcat.  I use OpenEJB as it's easy to get working and is
accessible via Tomcat with very minor configuration.  If you would like
any help setting it up, let me know.  Later, Jeremy

-Original Message-
From: Chris Shen [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 31, 2003 4:45 PM
To: [EMAIL PROTECTED]
Subject: RE: book on EJB

Thanks for the recommendations, guys. i will be sure to check it out.
What 
do you guys think of JBoss just out of curiosity?






From: Jeremy Whitlock [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: book on EJB
Date: Mon, 31 Mar 2003 16:21:42 -0700

Chris,
   I second that.  It's a great book.  You'll need an EJB container
as well and I suggest OpenEJB.  It can be found here:

http://openejb.sourceforge.net

   It integrates tightly into Tomcat and is very simple to
install/configure/use.  I'd love to help you out with it if you go that
direction.  Later, Jeremy

-Original Message-
From: Dmitry Sklyut [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 4:21 PM
To: 'Tomcat Users List'
Subject: RE: book on EJB

www.theserverside.com

Download Ed Roman's book

-Original Message-
From: Chris Shen [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 6:20 PM
To: [EMAIL PROTECTED]
Subject: book on EJB


i am an intermediate lvl jsp/servlet developer and would like to learn
ejb.
i am looking for a good tutorial/reference for novice/intermediate ejb
developers. any suggestions?

Chris

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: book on EJB

2003-03-31 Thread Jeremy Whitlock
Chris,
I second that.  It's a great book.  You'll need an EJB container
as well and I suggest OpenEJB.  It can be found here:

http://openejb.sourceforge.net

It integrates tightly into Tomcat and is very simple to
install/configure/use.  I'd love to help you out with it if you go that
direction.  Later, Jeremy

-Original Message-
From: Dmitry Sklyut [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 31, 2003 4:21 PM
To: 'Tomcat Users List'
Subject: RE: book on EJB

www.theserverside.com

Download Ed Roman's book

-Original Message-
From: Chris Shen [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 6:20 PM
To: [EMAIL PROTECTED]
Subject: book on EJB


i am an intermediate lvl jsp/servlet developer and would like to learn
ejb. 
i am looking for a good tutorial/reference for novice/intermediate ejb 
developers. any suggestions?

Chris

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat and IIS

2003-03-27 Thread Jeremy Whitlock
Or, just screw IIS and go to Apache.  With Apache, you can tell it what
pages to serve if no page is put into the url.  (DirectoryIndex
index.html index.html.var default.htm)

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 1:57 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS


AFAIK, the only way to do this when using Tomcat in conjunction with a
web 
server is a kludge.  I do it by making index.html my default home page,
and 
having index.html be nothing but a meta refresh page with a time of 0
to 
http://www.foo.com/index.jsp.  There are other ways...some Apache folks
use 
mod_rewrite.

This means index.jsp will show up in the address bar of the browser.  If

you don't want that, I'm not sure you can do it. I don't know enough
about 
IIS to know if there is a more elegant way to do it.

If you want to use Tomcat alone, you setup a welcome-file tag/element in

your application's web.xml file that has index.jsp as a parameter.

John

On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote:

 I'm trying to get away from ASP. The top file of my website is an
 index.jsp page. I set the root directory for the website to
 \Catalina_home\webapps\MyWebsite

 So when you go to http://www.mywebsite.com the default page in iis is
 index.jsp but I'm positive that is the wrong way to do this because
the
 only way jsp will work is if you type into the browser

 http://www.mywebsite.com/MyWebsite/index.jsp

 maybe this is not a tomcat related question but I'm hoping someone
could
 be doing this and give me some type of CLUE ?

 Basically when you go to http://www.mywebsite.com I want the top file
to
 be a functioning .jsp page because I don't want to use an ASP stats
 program.

 Hopefully it makes sense

 -wiley






 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat and IIS

2003-03-27 Thread Jeremy Whitlock
You didn't buy it as a web server though did you?  It will still be of
service to you...it will run Apache just fine.  Apache is great and over
63% of ALL web servers in the world run it.  Probably even MS. :)
Later, Jeremy

-Original Message-
From: jsp [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 2:10 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat and IIS

Yea, I thought about that( or even an asp redirect, defeats the purpose
of using jsp) but I'm trying to get the referrer from the browser into a
database and I don't want index.html as my only referrer :)

I'll try just using tomcat, I would just switch to apache I guess but I
paid about 1200 bucks for w2k server 2 years ago and STILL paying on it.
Oh well.

Thanks
-wiley


-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 12:57 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS


AFAIK, the only way to do this when using Tomcat in conjunction with a
web 
server is a kludge.  I do it by making index.html my default home page,
and 
having index.html be nothing but a meta refresh page with a time of 0
to 
http://www.foo.com/index.jsp.  There are other ways...some Apache folks
use 
mod_rewrite.

This means index.jsp will show up in the address bar of the browser.  If

you don't want that, I'm not sure you can do it. I don't know enough
about 
IIS to know if there is a more elegant way to do it.

If you want to use Tomcat alone, you setup a welcome-file tag/element in

your application's web.xml file that has index.jsp as a parameter.

John

On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote:

 I'm trying to get away from ASP. The top file of my website is an
 index.jsp page. I set the root directory for the website to
 \Catalina_home\webapps\MyWebsite

 So when you go to http://www.mywebsite.com the default page in iis is
 index.jsp but I'm positive that is the wrong way to do this because
the
 only way jsp will work is if you type into the browser

 http://www.mywebsite.com/MyWebsite/index.jsp

 maybe this is not a tomcat related question but I'm hoping someone
could
 be doing this and give me some type of CLUE ?

 Basically when you go to http://www.mywebsite.com I want the top file
to
 be a functioning .jsp page because I don't want to use an ASP stats
 program.

 Hopefully it makes sense

 -wiley






 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat and IIS

2003-03-27 Thread Jeremy Whitlock
That's possible BUT performance will suffer.  Tomcat isn't as powerful
as Apache.  If you are running a small website, intranet and such,
Tomcat would probably work fine but it's not Commercially fit as a Web
Server.  Apache on the other hand is.  Later, J

-Original Message-
From: jsp [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 4:25 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS

If you can use TOMCAT as a web server also a container for jsp and
servlets, then I don't understand why you even need Apache Web server?
Can someone fill me in? I'm running IIS with tomcat right now but I
would like to turn IIS off and just use tomcat like someone here
suggested.

-wiley


-Original Message-
From: Quinton McCombs [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 1:29 PM
To: 'John Turner'; [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS

 -Original Message-
 From: John Turner [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 27, 2003 3:22 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat and IIS
 
 
 
 Really?  Can you post your config files?  I'd be interested in seeing 
 them...I haven't been able to make this work, though I don't use JK2.
 
 John
 

Httpd.conf:

VirtualHost *
DocumentRoot /usr/local/www/default
ServerName neo03.nequalsone.com
DirectoryIndex index.html Wiki.jsp

Alias /wiki /opt/jakarta/webapps/wiki
Directory /opt/jakarta/webapps/wiki
Options -Indexes +FollowSymLinks +Includes MultiViews
/Directory
Location /data
   AllowOverride None
   deny from all
/Location
Location /WEB-INF
   AllowOverride None
   deny from all
/Location
/VirtualHost

Workers2.properties:

[channel.socket:localhost:8009]

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:/wiki/*.jsp]
worker=ajp13:localhost:8009






 On Thu, 27 Mar 2003 15:15:02 -0600, Quinton McCombs 
 [EMAIL PROTECTED] wrote:
 
  Well, I am doing this on apache 2.0.44.  My DirectoryIndex has 
  index.html and index.jsp.  I am directing *.jsp to tomcat.  
 Requesting 
  the directory without a filename causes index.jsp to be 
 processed by 
  tomcat and the result returned.
 
  I am also using mod_jk2 if that makes a difference.
 
  
  Quinton McCombs
  NequalsOne - HealthCare marketing tools 
 mailto:[EMAIL PROTECTED]
  http://www.NequalsOne.com
 
  -Original Message-
  From: John Turner [mailto:[EMAIL PROTECTED] 
 Sent: Thursday,
  March 27, 2003 3:11 PM
  To: Tomcat Users List
  Subject: Re: Tomcat and IIS
 
 
 
  Switching to Apache wouldn't solve it unless you wanted to use
  mod_rewrite. Check the archives for last fall...there were 
 bunches of 
  threads on this topic for quite awhile.  AFAIK, nothing's changed, 
  though I was off this list for several weeks recently and its very 
  possible someone came up with a workaround that I missed.
 
  John
 
  On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote:
 
   Yea, I thought about that( or even an asp redirect, defeats the 
  purpose
   of using jsp) but I'm trying to get the referrer from 
 the browser 
   into
  a  database and I don't want index.html as my only referrer :)
  
   I'll try just using tomcat, I would just switch to 
 apache I guess 
   but
   I
   paid about 1200 bucks for w2k server 2 years ago and 
 STILL paying on 
  it.  Oh well.
  
   Thanks
   -wiley
  
  
   -Original Message-
   From: John Turner [mailto:[EMAIL PROTECTED] Sent: 
   Thursday, March 27, 2003 12:57 PM
   To: Tomcat Users List
   Subject: Re: Tomcat and IIS
  
  
   AFAIK, the only way to do this when using Tomcat in conjunction 
   with a web server is a kludge.  I do it by making index.html my 
   default home page, and having index.html be nothing but a meta 
   refresh page with a time of 0 to 
 http://www.foo.com/index.jsp.  
   There are other
  ways...some  Apache folks use mod_rewrite.
  
   This means index.jsp will show up in the address bar of the 
   browser.
   If
   you don't want that, I'm not sure you can do it. I don't 
 know enough  
  about IIS to know if there is a more elegant way to do it.
  
   If you want to use Tomcat alone, you setup a welcome-file 
   tag/element
   in
   your application's web.xml file that has index.jsp as a 
 parameter.
  
   John
  
   On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote:
  
   I'm trying to get away from ASP. The top file of my 
 website is an 
   
  index.jsp page. I set the root directory for the website to 
  \Catalina_home\webapps\MyWebsite
  
   So when you go to http://www.mywebsite.com the default 
 page in iis 
   is
   index.jsp but I'm positive that is the wrong way to do 
 this because 
   the only way jsp will work is if you type into the browser
  
   http://www.mywebsite.com/MyWebsite/index.jsp
  
   maybe this is not a tomcat related question but I'm 
 hoping someone 
   
  could be doing this and 

RE: debug statements

2003-03-26 Thread Jeremy Whitlock
David,
Try debug=0.  That should tell you EVERYTHING!!!  Hope this
helps, Jeremy

-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 26, 2003 10:50 AM
To: Tomcat Users
Subject: Re: debug statements


Hi;

Two questions:

1) If I set
Server port=8005 shutdown=SHUTDOWN debug=4

Logger className=org.apache.catalina.logger.FileLogger
verbosity=4
directory=logs  prefix=localhost_log. suffix=.txt
timestamp=true/

I get no extra messages. But if I set:
Server port=8005 shutdown=SHUTDOWN debug=100

I do get more messages. This is not documented as far as I can tell so
what's going on here?

2) Even with the debug=100, it doesn't tell me why a given url doesn't
load anything. Is there any way to get how it's looking at a uri?

thanks - dave


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Please help me

2003-03-24 Thread Jeremy Whitlock
Juan,
Here you go:

http://www.moreservlets.com/Using-Tomcat-4.html

Hope this helps, Jeremy

-Original Message-
From: Juan Carlos Correa [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 24, 2003 12:56 PM
To: [EMAIL PROTECTED]
Subject: Please help me

I`m using Apache 1.3 and Tomcat 4.1.18. I need help, how
configuration..??

Thanks
JC


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Please help me

2003-03-24 Thread Jeremy Whitlock
Juan,
Woops.  My bad.  Wrong link.  Here is the right link:

http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml

Hope this helps, Jeremy

-Original Message-
From: Juan Carlos Correa [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 24, 2003 12:56 PM
To: [EMAIL PROTECTED]
Subject: Please help me

I`m using Apache 1.3 and Tomcat 4.1.18. I need help, how
configuration..??

Thanks
JC


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Java_Home

2003-03-13 Thread Jeremy Whitlock
This might be a shot in the dark but could you try this:
 
C:\%CATALINA_HOME%\bin\catalina start
 
Thanks, Jeremy
 
-Original Message-
From: Hunter, Sandra [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 13, 2003 3:01 PM
To: '[EMAIL PROTECTED]'
Subject: Java_Home
 
I am relatively new to Tomcat, having used it but not installed it,
before.
I have set my JAVA_HOME path to the folder named j2sdkee1.3.1 However
this is the result I get:
 
C:\%CATALINA_HOME%\bin\startup
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
The system cannot find the batch label specified - end
Using CATALINA_BASE:   C:\jakarta-tomcat-4.0.6
Using CATALINA_HOME:   C:\jakarta-tomcat-4.0.6
Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.0.6\temp
Using JAVA_HOME:   C:\j2sdkee1.3.1
The system cannot find the file -Djava.endorsed.dirs=.
 
Any ideas are gratefully received.
 
Sandra Patricia Hunter
Systems Development and Web Design 


RE: Java_Home

2003-03-13 Thread Jeremy Whitlock
They are right.  You should have Environment variables for:
 
JAVA_HOME = Location to Java 2 SDK
J2EE_HOME = C:\j2sdkee1.3.1
CATALINA_HOME = C:\jakarta-tomcat-4.0.6
 
Hope this helps, Jeremy
 
-Original Message-
From: Hunter, Sandra [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 13, 2003 3:01 PM
To: '[EMAIL PROTECTED]'
Subject: Java_Home
 
I am relatively new to Tomcat, having used it but not installed it,
before.
I have set my JAVA_HOME path to the folder named j2sdkee1.3.1 However
this is the result I get:
 
C:\%CATALINA_HOME%\bin\startup
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
The system cannot find the batch label specified - end
Using CATALINA_BASE:   C:\jakarta-tomcat-4.0.6
Using CATALINA_HOME:   C:\jakarta-tomcat-4.0.6
Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.0.6\temp
Using JAVA_HOME:   C:\j2sdkee1.3.1
The system cannot find the file -Djava.endorsed.dirs=.
 
Any ideas are gratefully received.
 
Sandra Patricia Hunter
Systems Development and Web Design 


Mozilla Issues Viewing Servlet

2003-03-12 Thread Jeremy Whitlock
Tomcat Users,
I have Tomcat working properly and I have integrated OpenEJB.  I
ran the example servlet, HelloOpenEJB, and if I view the servlet from
Mozilla, the servlet works BUT I get to the point where the servlet
creates HTML to be viewed by the browser, I get the tags and the data.
If I browse to the same address from a Windows machine running IE 6.0, I
get the desired results.  Here is what shows up in the browser when I
visit:  http://localhost:8080/examples/servlet/HelloOpenEJB from
Mozilla:

html
head
titleHello World!/title
/head
body
h1Hello World!/h1
/body
/html

If I view it from IE 6.0, I get the desired results where the
tags are parsed and the output is HTML:

Hello World!

Anyone know why this is happening?  Thanks,

Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-0559
http://www.starprecision.com 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Mozilla Issues Viewing Servlet

2003-03-12 Thread Jeremy Whitlock
Yoav,
How would you suggest setting the content type?  I tried to it
but I don't think I did it right as I got the same results but with the
new changes to it.  Any ideas?  Thanks, Jeremy

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 9:34 AM
To: Tomcat Users List
Subject: RE: Mozilla Issues Viewing Servlet


Howdy,
It looks like a response content-type issue.  Likely the EJB or servlet
is not setting the content type to text/html.  IE 6.0 by default
interprets null content type as text/html, but Mozilla doesn't and
displays the raw information.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 11:22 AM
To: Tomcat
Subject: Mozilla Issues Viewing Servlet

Tomcat Users,
   I have Tomcat working properly and I have integrated OpenEJB.  I
ran the example servlet, HelloOpenEJB, and if I view the servlet from
Mozilla, the servlet works BUT I get to the point where the servlet
creates HTML to be viewed by the browser, I get the tags and the data.
If I browse to the same address from a Windows machine running IE 6.0,
I
get the desired results.  Here is what shows up in the browser when I
visit:  http://localhost:8080/examples/servlet/HelloOpenEJB from
Mozilla:

html
head
titleHello World!/title
/head
body
h1Hello World!/h1
/body
/html

   If I view it from IE 6.0, I get the desired results where the
tags are parsed and the output is HTML:

Hello World!

   Anyone know why this is happening?  Thanks,

Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-0559
http://www.starprecision.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Mozilla Issues Viewing Servlet

2003-03-12 Thread Jeremy Whitlock
Yoav,
I figured it out:

response.setContentType(text/html);

Thanks, Jeremy

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 9:45 AM
To: 'Tomcat Users List'
Subject: RE: Mozilla Issues Viewing Servlet

Yoav,
How would you suggest setting the content type?  I tried to it
but I don't think I did it right as I got the same results but with the
new changes to it.  Any ideas?  Thanks, Jeremy

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 9:34 AM
To: Tomcat Users List
Subject: RE: Mozilla Issues Viewing Servlet


Howdy,
It looks like a response content-type issue.  Likely the EJB or servlet
is not setting the content type to text/html.  IE 6.0 by default
interprets null content type as text/html, but Mozilla doesn't and
displays the raw information.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 11:22 AM
To: Tomcat
Subject: Mozilla Issues Viewing Servlet

Tomcat Users,
   I have Tomcat working properly and I have integrated OpenEJB.  I
ran the example servlet, HelloOpenEJB, and if I view the servlet from
Mozilla, the servlet works BUT I get to the point where the servlet
creates HTML to be viewed by the browser, I get the tags and the data.
If I browse to the same address from a Windows machine running IE 6.0,
I
get the desired results.  Here is what shows up in the browser when I
visit:  http://localhost:8080/examples/servlet/HelloOpenEJB from
Mozilla:

html
head
titleHello World!/title
/head
body
h1Hello World!/h1
/body
/html

   If I view it from IE 6.0, I get the desired results where the
tags are parsed and the output is HTML:

Hello World!

   Anyone know why this is happening?  Thanks,

Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-0559
http://www.starprecision.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Simple Config-Making me Crazy!

2003-03-12 Thread Jeremy Whitlock
Rich,
There should be.  In my installation, I have
$CATALINA_HOME/webapps/examples/images
$CATALINA_HOME/webapps/examples/jsp
$CATALINA_HOME/webapps/examples/servlets
$CATALINA_HOME/webapps/examples/WEB-INF

Check your directory structure again.  Later, Jeremy

-Original Message-
From: Rich Fox [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 2:37 PM
To: Tomcat User List
Subject: Simple Config-Making me Crazy!

Hi,

This is so simple, but I can not find it anywhere...

The Tomcat Installation has the examples directory in the webapps
folder.

All of the urls pointing to the examples for the servlets point to:

http://whatever/examples/servlet/favoriteServletExample

But there is no ~webapps/examples/servlet/ directory.
Obviously this is some sort of virtual directory, but I can't find where
in the config files this url is specified.

Any hints?

Thanks.

 | Rich Fox
 | [EMAIL PROTECTED]
 | 86 Nobska Road
 | Woods Hole, MA 02543
 | MA 508 548 4358
 | VA 703 201 6050


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Starting Tomcat on Linux as a Service??

2003-03-11 Thread Jeremy Whitlock
John,
Here is a script that will let you use Tomcat as a service.
Here it is:

#!/bin/bash
#
# Startup script for Jakarta Tomcat
#
# chkconfig: 345 84 16
# description: Jakarta Tomcat Java Servlet/JSP Container



TOMCAT_HOME=/usr/local/tomcat/tomcat-4.1.18
TOMCAT_START=/usr/local/tomcat/tomcat-4.1.18/bin/startup.sh
TOMCAT_STOP=/usr/local/tomcat/tomcat-4.1.18/bin/shutdown.sh

#Necessary environment variables
export CATALINA_HOME=/usr/local/tomcat/tomcat-4.1.18
export JAVA_HOME=/usr/java/jdk1.3.1_07
export LD_KERNEL_ASSUME=2.2.5

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = no ]  exit 0

#Check for tomcat script
if [ ! -f $TOMCAT_HOME/bin/catalina.sh ]
then
echo Tomcat not available...
exit
fi

start() {
echo -n Starting Tomcat: 
daemon $TOMCAT_START
echo
touch /var/lock/subsys/tomcatd
# We may need to sleep here so it will be up for apache
#sleep 5
#Instead should check to see if apache is up by looking for http.pid
}

stop() {
echo -n $Shutting down Tomcat: 
daemon $TOMCAT_STOP
rm -f /var/lock/subsys/tomcatd.pid
echo
}

status() {
ps ax --width=1000 | grep [o]rg.apache.catalina.startup.Bootstrap
start | awk '{printf $1  }' | wc | awk '{print $2}' 
/tmp/tomcat_process_count.txt
   read line  /tmp/tomcat_process_count.txt
if [ $line -gt 0 ]; then
echo -n tomcatd ( pid 
ps ax --width=1000 | grep [o]rg.apache.catalina.startup.Bootstrap
start | awk '{printf $1  }'
echo -n ) is running...
else
echo -n Tomcat is stopped
fi
}

case $1 in
start)
start
;;
 stop)
stop
;;
 restart)
stop
sleep 3
start
;;
 status)
status
;;
 *)
echo Usage: tomcatd {start|stop|restart|status}
 exit 1
esac



If you save this as tomcatd in the /etc/init.d/ directory, you can
then do:

chkconfig --add tomcatd

Now, you can use the Service tool from the GUI to start/stop your
service PLUS assign it to start up at boot.  Also, the way it starts now
is:

/sbin/service tomcat start

You will notice the Usage portion of the script.  This will tell you
what parameters you can add:

/sbin/service tomcatd parameter

Hope this helps, Jeremy

P.S. - I got one for Apache also if you need it.  Remember to change the
path to your Tomcat installaion and the catalina.sh.

-Original Message-
From: John B. Moore [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 10, 2003 7:05 AM
To: [EMAIL PROTECTED]
Subject: Starting Tomcat on Linux as a Service??

Folks,

One can start Apache by placing the command in the rc.local

/usr/local/apache/bin/apachectl.sh start

but it appears that you can not do that with tomcat because of the 
need for various environmental variables (JAVA_HOME ..etc..)

Any one have a suggestion on how to get both tomcat and apache to 
start (tomcat first) when the server reboots..???

 Thanks...

 John...


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Error while trying to stop and start the tomcat

2003-03-11 Thread Jeremy Whitlock
You can add Environment Variables such as JAVA_HOME to your
.bash_profile in Linux or by right clicking the My Computer icon on
your desktop and going to Properties.

---Linux---
1) Open your .bash_profile with your favorite text editor.
2) Add export JAVA_HOME=/install/path/ (Replace /intall/path/ with
your path to your installation. Ex. /usr/java/java1.3.1_07/)

---Windows---
1) Right-click My Computer and go to Properties
2) Go to Advanced and then to Environment Variables
3) Under System Variables, click New... and set Variable Name
equal to JAVA_HOME and Variable Value equal to Path to
Installation (Replace Path to Installation with the path to your SDK
installation, not JRE. Ex. C:\Java\Java2SDK\)

Hope this helps, Jeremy

-Original Message-
From: Aparna Narla [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 11, 2003 10:00 AM
To: 'Tomcat Users List'
Subject: Re: Error while trying to stop and start the tomcat 

Hi,

 have recently updated the jdk 1.2 with jdk 1.4 which comes with
installing
j2se. I am trying to stop and start the tomcat service at
$TOMCAT_HOME/bin/startup.sh i am getting the following error

The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program

Any suggestions on what i should be checking to correct this problem.

Please Help. You help is much aprreciated.

Aparna.

-Original Message-
From: Jacques Capesius [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 9:54 AM
To: 'Tomcat Users List'
Subject: RE: importing jdom.jar into Tomcat


Shapira, Yoav wrote:
 Howdy,
 Put it in the WEB-INF/lib directory of the webapp where the JSP is. 
 And make sure that's the only copy of jdom in your server: take it
 out of common/classes and server/lib.
 
 Yoav Shapira
 Millennium ChemInformatics
 
awesome! that did the trick! thanks a million!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Error while trying to stop and start the tomcat

2003-03-11 Thread Jeremy Whitlock
Aparna,
I'm not well versed with Sun Solaris.  The only thing I can
think of is did you add it to the .profile of the user you are trying to
start Tomcat with?  If not, that is your problem.  Here is an example of
my .bash_profile for my user to user Tomcat:

PS=:

for i in /usr/local/openejb/openejb-0.9.1/lib/*.jar
do
CLASSPATH=${CLASSPATH}${PS}${i}
done

for i in /usr/local/openejb/openejb-0.9.1/dist/*.jar
do
CLASSPATH=${CLASSPATH}${PS}${i}
done

CLASSPATH=${CLASSPATH}:.:/usr/local/share/development
export CLASSPATH
export APACHE_HOME=/usr/local/apache2
export CATALINA_HOME=/usr/local/tomcat/tomcat-4.1.18
export JAVA_HOME=/usr/java/jdk1.3.1_07
export J2EE_HOME=/usr/java/j2sdkee1.3.1
export MYSQL_HOME=/usr/local/mysql/mysql-3.23.55-max
export NPX_PLUGIN_PATH=$JAVA_HOME/jre/plugin/i386/ns600
export OPENEJB_HOME=/usr/local/openejb/openejb-0.9.1
PATH=$JAVA_HOME/bin:$J2EE_HOME/bin:$CATALINA_HOME/bin:$MYSQL_HOME/bin:$O
PENEJB_HOME/bin:$PATH:$HOME/bin

Hopefully this helps, Jeremy

-Original Message-
From: Aparna Narla [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 11, 2003 10:36 AM
To: 'Tomcat Users List'
Subject: RE: Error while trying to stop and start the tomcat 

Hi Jeremy,

Thanks for the prompt reply . unfortunately i tried doing all that you
mentioned but did'nt help. I have downloaded the 
 j2sdk-1_4_1_02-solaris-sparcv9.tar.Z executable and unpacked it and
added
the packages SUNWj3dmx SUNWj3dvx SUNWj3rtx . Then Automatically it has
created the folder /usr/j2se. In .profile file i added the path
/usr/j2se/bin/sparcv9(this is where the executables are) then in
JAVA_HOME=/usr/j2se . What is baffling me is when i look at the
documentation it tells me to add the packages SUNWj3rt SUNWj3dev
SUNWj3man
SUNWj3dmo after unpacking the executable i downloaded. 

Any thing new i have to lookup or am i doing something wrong some where.
Please help


Aparna
-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 10:04 AM
To: 'Tomcat Users List'
Subject: RE: Error while trying to stop and start the tomcat 


You can add Environment Variables such as JAVA_HOME to your
.bash_profile in Linux or by right clicking the My Computer icon on
your desktop and going to Properties.

---Linux---
1) Open your .bash_profile with your favorite text editor.
2) Add export JAVA_HOME=/install/path/ (Replace /intall/path/ with
your path to your installation. Ex. /usr/java/java1.3.1_07/)

---Windows---
1) Right-click My Computer and go to Properties
2) Go to Advanced and then to Environment Variables
3) Under System Variables, click New... and set Variable Name
equal to JAVA_HOME and Variable Value equal to Path to
Installation (Replace Path to Installation with the path to your SDK
installation, not JRE. Ex. C:\Java\Java2SDK\)

Hope this helps, Jeremy

-Original Message-
From: Aparna Narla [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 11, 2003 10:00 AM
To: 'Tomcat Users List'
Subject: Re: Error while trying to stop and start the tomcat 

Hi,

 have recently updated the jdk 1.2 with jdk 1.4 which comes with
installing
j2se. I am trying to stop and start the tomcat service at
$TOMCAT_HOME/bin/startup.sh i am getting the following error

The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program

Any suggestions on what i should be checking to correct this problem.

Please Help. You help is much aprreciated.

Aparna.

-Original Message-
From: Jacques Capesius [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 9:54 AM
To: 'Tomcat Users List'
Subject: RE: importing jdom.jar into Tomcat


Shapira, Yoav wrote:
 Howdy,
 Put it in the WEB-INF/lib directory of the webapp where the JSP is. 
 And make sure that's the only copy of jdom in your server: take it
 out of common/classes and server/lib.
 
 Yoav Shapira
 Millennium ChemInformatics
 
awesome! that did the trick! thanks a million!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



java.lang.NoClassDefFoundError

2003-03-05 Thread Jeremy Whitlock
)
  at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
  at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
  at
org.apache.catalina.startup.Catalina.start(Catalina.java:512)
  at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
  at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
  at java.lang.reflect.Method.invoke(Native Method)
  at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
 
I know that Tomcat doesn't use the CLASSPATH but it appears that the
error is because a class can't be found.  Can someone help me resolve
this?  Thanks,
 
 
Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-0559
http://www.starprecision.com 
 


RE: java.lang.NoClassDefFoundError -- solved

2003-03-05 Thread Jeremy Whitlock
Filip,
I didn't register my servlet in web.xml because I didn't know I
had to.  I have this same setup on my Windows 2000 machine and I didn't
have a web.xml file for that EJB.  Also, your first statement, can you
give me an example of how you do that?  Thanks, Jeremy

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 1:33 PM
To: Tomcat Users List
Cc: OpenEJB
Subject: RE: java.lang.NoClassDefFoundError -- solved

you can do it two ways,

1. If you have the invoker servlet, you can access it that way, but you
need the full classname
2. Did you register your servlet in web.xml?

Filip

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 12:21 PM
To: 'Tomcat Users List'
Cc: OpenEJB
Subject: RE: java.lang.NoClassDefFoundError -- solved


David,
I got OpenEJB working but I'm not able to run the example.  I
have created and compiled the
HelloBean.java,HelloHome.java,HelloObject.java and HelloWorld.java.
Here is the directory structure:

/usr/local/share/development/openejb
|
|
|_WEB-INF
|
|_lib
|
|_classes
|
|_META-INF
|   |
|   |_ejb-jar.xml
|
|_org
|
|_acme
|
|_HelloBean.java
|_HelloBean.class
|_HelloHome.java
|_HelloHome.class
|_HelloObject.java
|_HelloObject.class
|_HelloWorld.java
|_HelloWorld.class

I have setup Tomcat's server.xml to do this:

!-- OpenEJB ExampleText Bean Context --
Contect path=/openejb
docBase=/usr/local/share/development/openejb debug=0/

Now, when I do http://localhost:8080/openejb/servlet/HelloOpenEJB I get:

HTTP Status 404-/openejb/servlet/HelloOpenEJB

type Status report
message /openejb/servlet/HelloOpenEJB
description The requested resource (/openejb/servlet/HelloOpenEJB) is
not available

Any ideas why?  I remember in the previous version of OpenEJB, I had to
place the HelloWorld.java and HelloWorld.class in the classes directory
instead of the acme directory.  Any ideas?  Thanks, Jeremy

-Original Message-
From: David Blevins [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 1:09 PM
To: 'Tomcat Users List'
Subject: RE: java.lang.NoClassDefFoundError -- solved

This reply is for the archives.  Jeremy did finally get it running -- he
simply forgot to uncomment the openejb.home init-param after setting it.

The full install process


In Linux, it is literally just three steps:
 1. Copy the openejb_loader-0.9.1.war into the webapps dir
 2. Uncomment and set the openejb.home init-param in the web.xml
 3. Restart Tomcat

If anything goes wrong, it *has* to be step 2, in which case see above.

In Windows, it's the same process, but people constantly have problems
with the NT Service version of Tomcat not actually restarting.  Usually
you have to re-run the Tomcat NT Service install program to get it to
truly restart.  Don't know why, wish I knew an easier way.


How does this work?


The openejb_loader will do all the busy work for you.  It will add all
the required libraries from the OpenEJB directories into the appropriate
classloaders in Tomcat, all automatically and dynamically.  The only
thing you have to do is tell the loader where OpenEJB lives by setting
the openejb.home init-param in the web.xml.


It didn't work!?


Sounds simple, but we see a number of common mistakes:

 - Most people simply forget to uncomment it.  Check and double check
that.
 - Some set it to OPENEJB_HOME, which won't work. An actual path is
required.
 - Some set it to point to the OpenEJB /bin directory.
 - The rest are usually typos in the path.


Hope this helps everyone out.  As an archive-searcher, I always
appreciate finding emails like this.

If anyone has any ideas on making the integration process even easier, I
am all ears.

-David

 -Original Message-
 From: Jon Wingfield [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 05, 2003 12:44 PM
 To: Tomcat Users List
 Subject: Re: java.lang.NoClassDefFoundError
 
 
 Looks like you've using OpenEJB ;)
 The OpenEJB distro comes with a war file,  which looks like it's been 
 expanded to a context by your tomcat install. However, the war file 
 doesn't contain the required OpenEJB jar files (which 
 probably need to 
 be put in common/lib or server/lib

RE: java.lang.NoClassDefFoundError -- solved

2003-03-05 Thread Jeremy Whitlock
Filip,
Which web.xml?  There is one in the $CATALINA_HOME/conf
directory and I can also put one in the WEB-INF directory of the app.
I'm new to OpenEJB.  I have configured it many times but with my current
schedule, I haven't had time to play with EJBs for awhile.  Thanks for
your help, Jeremy

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 1:48 PM
To: Tomcat Users List
Subject: RE: java.lang.NoClassDefFoundError -- solved

1. If you have the invoker servlet, you can access it that way, but you
need the full classname

look in the docs for the invoker servlet, it is a shortcut in Tomcat so
you don't have to register your servlets in web.xml.
Or search the archives for the invoker servlet.
http://localhost:8080/openejb/servlet/org/acme/HelloOpenEJB and it also
means that HelloOpenEJB has to have the package org.acme; statement in
it.

2. Be default you have to register the servlets in web.xml to map them
to a request.

Filip




-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 12:36 PM
To: 'Tomcat Users List'
Subject: RE: java.lang.NoClassDefFoundError -- solved


Filip,
I didn't register my servlet in web.xml because I didn't know I
had to.  I have this same setup on my Windows 2000 machine and I didn't
have a web.xml file for that EJB.  Also, your first statement, can you
give me an example of how you do that?  Thanks, Jeremy

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 1:33 PM
To: Tomcat Users List
Cc: OpenEJB
Subject: RE: java.lang.NoClassDefFoundError -- solved

you can do it two ways,

1. If you have the invoker servlet, you can access it that way, but you
need the full classname
2. Did you register your servlet in web.xml?

Filip

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 12:21 PM
To: 'Tomcat Users List'
Cc: OpenEJB
Subject: RE: java.lang.NoClassDefFoundError -- solved


David,
I got OpenEJB working but I'm not able to run the example.  I
have created and compiled the
HelloBean.java,HelloHome.java,HelloObject.java and HelloWorld.java.
Here is the directory structure:

/usr/local/share/development/openejb
|
|
|_WEB-INF
|
|_lib
|
|_classes
|
|_META-INF
|   |
|   |_ejb-jar.xml
|
|_org
|
|_acme
|
|_HelloBean.java
|_HelloBean.class
|_HelloHome.java
|_HelloHome.class
|_HelloObject.java
|_HelloObject.class
|_HelloWorld.java
|_HelloWorld.class

I have setup Tomcat's server.xml to do this:

!-- OpenEJB ExampleText Bean Context --
Contect path=/openejb
docBase=/usr/local/share/development/openejb debug=0/

Now, when I do http://localhost:8080/openejb/servlet/HelloOpenEJB I get:

HTTP Status 404-/openejb/servlet/HelloOpenEJB

type Status report
message /openejb/servlet/HelloOpenEJB
description The requested resource (/openejb/servlet/HelloOpenEJB) is
not available

Any ideas why?  I remember in the previous version of OpenEJB, I had to
place the HelloWorld.java and HelloWorld.class in the classes directory
instead of the acme directory.  Any ideas?  Thanks, Jeremy

-Original Message-
From: David Blevins [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 1:09 PM
To: 'Tomcat Users List'
Subject: RE: java.lang.NoClassDefFoundError -- solved

This reply is for the archives.  Jeremy did finally get it running -- he
simply forgot to uncomment the openejb.home init-param after setting it.

The full install process


In Linux, it is literally just three steps:
 1. Copy the openejb_loader-0.9.1.war into the webapps dir
 2. Uncomment and set the openejb.home init-param in the web.xml
 3. Restart Tomcat

If anything goes wrong, it *has* to be step 2, in which case see above.

In Windows, it's the same process, but people constantly have problems
with the NT Service version of Tomcat not actually restarting.  Usually
you have to re-run the Tomcat NT Service install program to get it to
truly restart.  Don't know why, wish I knew an easier way.


How does this work?


The openejb_loader will do all the busy work for you.  It will add all
the required libraries from the OpenEJB directories into the appropriate
classloaders in Tomcat

RE: java.lang.NoClassDefFoundError -- solved

2003-03-05 Thread Jeremy Whitlock
David,
I have deployed the myHelloEjb.jar and it's in the
/usr/local/openejb/openejb-0.9.1/bean directory.  I haven't copied it or
moved it.  In my Windows install, I had to do some weird things for my
EJB to work with OpenEJB.  I had to move the META-INF, org and
myHelloEjb.jar files from the classes directory into some other
directory.  If I didn't do that, it wouldn't work.  Now, when I deploy
the app:

./openejb.sh deploy -a -m
/usr/local/share/development/openejb/WEB-INF/classes/myHelloEjb.jar

everything goes as planned and the myHelloEjb.jar gets copied to the
/usr/local/openejb/openejb-0.9.1/beans directory

What do I do next?  The META-INF and org directories are still there,
should they be?  Here are my steps:

1) Create all .java files for the bean example
2) javac all .java files
3) jar META-INF and org
4) deploy myHelloEjb.jar
5) Start Tomcat

Did I leave any steps out?  I don't know what to do next.  Please help.
Thanks, Jeremy

P.S. - I tried the
http://localhost:8080/openejb/servlet/org/acme/HelloOpenEJB but it
didn't work.  Anymore ideas?

-Original Message-
From: David Blevins [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 1:58 PM
To: 'Tomcat Users List'
Cc: 'OpenEJB Users List'
Subject: RE: java.lang.NoClassDefFoundError -- solved

Filip is correct, follow that advice.

Also, once you deploy the EJB's into OpenEJB, just leave them in the
OpenEJB beans directory.  Don't copy the contents of you EJB jar into
the webapps dir, ejbs are not simple libraries, they must stay in the
EJB container.  Putting them in the webapps classes dir or lib dir will
just cause classloader issues.  OpenEJB will make sure all your EJBs are
visible all your Servlets and JSPs at run time.

You can easily tell OpenEJB where to look for ejbs on your file system,
but again, this shouldn't be the classes or lib directories of your
webapp.

You could create a directory under your WEB-INF dir called ejbs, then
add that dir to your openejb.conf as such:

Deployments dir=/usr/local/share/development/openejb/WEB-INF/ejbs /

When you deploy, just leave of the -m or -c options as those will move
or copy the ejb jar into the OpenEJB/beans directory.  You want them to
stay where they are, which is your new WEB-INF/ejbs directory.

-David

 -Original Message-
 From: Filip Hanik [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 05, 2003 2:33 PM
 To: Tomcat Users List
 Cc: OpenEJB
 Subject: RE: java.lang.NoClassDefFoundError -- solved
 
 
 you can do it two ways,
 
 1. If you have the invoker servlet, you can access it that 
 way, but you need the full classname 2. Did you register your 
 servlet in web.xml?
 
 Filip
 
 -Original Message-
 From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 12:21 PM
 To: 'Tomcat Users List'
 Cc: OpenEJB
 Subject: RE: java.lang.NoClassDefFoundError -- solved
 
 
 David,
   I got OpenEJB working but I'm not able to run the 
 example.  I have created and compiled the 
 HelloBean.java,HelloHome.java,HelloObject.java and 
 HelloWorld.java. Here is the directory structure:
 
 /usr/local/share/development/openejb
   |
   |
   |_WEB-INF
   |
   |_lib
   |
   |_classes
   |
   |_META-INF
   |   |
   |   |_ejb-jar.xml
   |
   |_org
   |
   |_acme
   |
   |_HelloBean.java
   |_HelloBean.class
   |_HelloHome.java
   |_HelloHome.class
   |_HelloObject.java
   |_HelloObject.class
   |_HelloWorld.java
   |_HelloWorld.class
 
 I have setup Tomcat's server.xml to do this:
 
 !-- OpenEJB ExampleText Bean Context --
   Contect path=/openejb 
 docBase=/usr/local/share/development/openejb debug=0/
 
 Now, when I do 
 http://localhost:8080/openejb/servlet/HelloOpenEJB I get:
 
 HTTP Status 404-/openejb/servlet/HelloOpenEJB
 
 type Status report
 message /openejb/servlet/HelloOpenEJB
 description The requested resource 
 (/openejb/servlet/HelloOpenEJB) is not available
 
 Any ideas why?  I remember in the previous version of 
 OpenEJB, I had to place the HelloWorld.java and 
 HelloWorld.class in the classes directory instead of the acme 
 directory.  Any ideas?  Thanks, Jeremy
 
 -Original Message-
 From: David Blevins [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 05, 2003 1:09 PM
 To: 'Tomcat Users List'
 Subject: RE: java.lang.NoClassDefFoundError -- solved
 
 This reply is for the archives.  Jeremy did finally get it 
 running -- he simply forgot to uncomment

RE: java.lang.NoClassDefFoundError -- solved

2003-03-05 Thread Jeremy Whitlock
Filip,
I'm sorry man but I'm lost on your advice.  Please give me the
dummy terms to explain this.  I am new to this.  Thanks, Jeremy

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 1:48 PM
To: Tomcat Users List
Subject: RE: java.lang.NoClassDefFoundError -- solved

1. If you have the invoker servlet, you can access it that way, but you
need the full classname

look in the docs for the invoker servlet, it is a shortcut in Tomcat so
you don't have to register your servlets in web.xml.
Or search the archives for the invoker servlet.
http://localhost:8080/openejb/servlet/org/acme/HelloOpenEJB and it also
means that HelloOpenEJB has to have the package org.acme; statement in
it.

2. Be default you have to register the servlets in web.xml to map them
to a request.

Filip




-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 12:36 PM
To: 'Tomcat Users List'
Subject: RE: java.lang.NoClassDefFoundError -- solved


Filip,
I didn't register my servlet in web.xml because I didn't know I
had to.  I have this same setup on my Windows 2000 machine and I didn't
have a web.xml file for that EJB.  Also, your first statement, can you
give me an example of how you do that?  Thanks, Jeremy

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 1:33 PM
To: Tomcat Users List
Cc: OpenEJB
Subject: RE: java.lang.NoClassDefFoundError -- solved

you can do it two ways,

1. If you have the invoker servlet, you can access it that way, but you
need the full classname
2. Did you register your servlet in web.xml?

Filip

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 12:21 PM
To: 'Tomcat Users List'
Cc: OpenEJB
Subject: RE: java.lang.NoClassDefFoundError -- solved


David,
I got OpenEJB working but I'm not able to run the example.  I
have created and compiled the
HelloBean.java,HelloHome.java,HelloObject.java and HelloWorld.java.
Here is the directory structure:

/usr/local/share/development/openejb
|
|
|_WEB-INF
|
|_lib
|
|_classes
|
|_META-INF
|   |
|   |_ejb-jar.xml
|
|_org
|
|_acme
|
|_HelloBean.java
|_HelloBean.class
|_HelloHome.java
|_HelloHome.class
|_HelloObject.java
|_HelloObject.class
|_HelloWorld.java
|_HelloWorld.class

I have setup Tomcat's server.xml to do this:

!-- OpenEJB ExampleText Bean Context --
Contect path=/openejb
docBase=/usr/local/share/development/openejb debug=0/

Now, when I do http://localhost:8080/openejb/servlet/HelloOpenEJB I get:

HTTP Status 404-/openejb/servlet/HelloOpenEJB

type Status report
message /openejb/servlet/HelloOpenEJB
description The requested resource (/openejb/servlet/HelloOpenEJB) is
not available

Any ideas why?  I remember in the previous version of OpenEJB, I had to
place the HelloWorld.java and HelloWorld.class in the classes directory
instead of the acme directory.  Any ideas?  Thanks, Jeremy

-Original Message-
From: David Blevins [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 1:09 PM
To: 'Tomcat Users List'
Subject: RE: java.lang.NoClassDefFoundError -- solved

This reply is for the archives.  Jeremy did finally get it running -- he
simply forgot to uncomment the openejb.home init-param after setting it.

The full install process


In Linux, it is literally just three steps:
 1. Copy the openejb_loader-0.9.1.war into the webapps dir
 2. Uncomment and set the openejb.home init-param in the web.xml
 3. Restart Tomcat

If anything goes wrong, it *has* to be step 2, in which case see above.

In Windows, it's the same process, but people constantly have problems
with the NT Service version of Tomcat not actually restarting.  Usually
you have to re-run the Tomcat NT Service install program to get it to
truly restart.  Don't know why, wish I knew an easier way.


How does this work?


The openejb_loader will do all the busy work for you.  It will add all
the required libraries from the OpenEJB directories into the appropriate
classloaders in Tomcat, all automatically and dynamically.  The only
thing you have to do is tell the loader where OpenEJB lives by setting
the openejb.home init-param in the web.xml

RE: java.lang.NoClassDefFoundError -- solved

2003-03-05 Thread Jeremy Whitlock
David,
I got OpenEJB working but I'm not able to run the example.  I
have created and compiled the
HelloBean.java,HelloHome.java,HelloObject.java and HelloWorld.java.
Here is the directory structure:

/usr/local/share/development/openejb
|
|
|_WEB-INF
|
|_lib
|
|_classes
|
|_META-INF
|   |
|   |_ejb-jar.xml
|
|_org
|
|_acme
|
|_HelloBean.java
|_HelloBean.class
|_HelloHome.java
|_HelloHome.class
|_HelloObject.java
|_HelloObject.class
|_HelloWorld.java
|_HelloWorld.class

I have setup Tomcat's server.xml to do this:

!-- OpenEJB ExampleText Bean Context --
Contect path=/openejb
docBase=/usr/local/share/development/openejb debug=0/

Now, when I do http://localhost:8080/openejb/servlet/HelloOpenEJB I get:

HTTP Status 404-/openejb/servlet/HelloOpenEJB

type Status report
message /openejb/servlet/HelloOpenEJB
description The requested resource (/openejb/servlet/HelloOpenEJB) is
not available

Any ideas why?  I remember in the previous version of OpenEJB, I had to
place the HelloWorld.java and HelloWorld.class in the classes directory
instead of the acme directory.  Any ideas?  Thanks, Jeremy

-Original Message-
From: David Blevins [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2003 1:09 PM
To: 'Tomcat Users List'
Subject: RE: java.lang.NoClassDefFoundError -- solved

This reply is for the archives.  Jeremy did finally get it running -- he
simply forgot to uncomment the openejb.home init-param after setting it.

The full install process


In Linux, it is literally just three steps:
 1. Copy the openejb_loader-0.9.1.war into the webapps dir
 2. Uncomment and set the openejb.home init-param in the web.xml
 3. Restart Tomcat

If anything goes wrong, it *has* to be step 2, in which case see above.

In Windows, it's the same process, but people constantly have problems
with the NT Service version of Tomcat not actually restarting.  Usually
you have to re-run the Tomcat NT Service install program to get it to
truly restart.  Don't know why, wish I knew an easier way.


How does this work?


The openejb_loader will do all the busy work for you.  It will add all
the required libraries from the OpenEJB directories into the appropriate
classloaders in Tomcat, all automatically and dynamically.  The only
thing you have to do is tell the loader where OpenEJB lives by setting
the openejb.home init-param in the web.xml.


It didn't work!?


Sounds simple, but we see a number of common mistakes:

 - Most people simply forget to uncomment it.  Check and double check
that.
 - Some set it to OPENEJB_HOME, which won't work. An actual path is
required.
 - Some set it to point to the OpenEJB /bin directory.
 - The rest are usually typos in the path.


Hope this helps everyone out.  As an archive-searcher, I always
appreciate finding emails like this.

If anyone has any ideas on making the integration process even easier, I
am all ears.

-David

 -Original Message-
 From: Jon Wingfield [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 05, 2003 12:44 PM
 To: Tomcat Users List
 Subject: Re: java.lang.NoClassDefFoundError
 
 
 Looks like you've using OpenEJB ;)
 The OpenEJB distro comes with a war file,  which looks like it's been 
 expanded to a context by your tomcat install. However, the war file 
 doesn't contain the required OpenEJB jar files (which 
 probably need to 
 be put in common/lib or server/lib).
 The class file for org/openejb/OpenEJB is in the 
 openejb-0.9.1.jar. Deploy that and you should be set (well, 
 this error will go away, at 
 least) .
 
 HTH,
 
 Jon
 
 
 Jeremy Whitlock wrote:
 
 Tomcat List,
 This might not be a Tomcat problem but I 
 imagine that 
 you might be able to help anyways.  Every time I start Tomcat, I get 
 this error:
  
 StandardContext[/openejb_loader-0.9.1]: Servlet
   
 
 /openejb_loader-0.9.1 threw load() exception
 javax.servlet.ServletException: Servlet.init() for servlet loader
 
 
 threw exception
   
 
  at
 
 
 org.apache.catalina.core.StandardWrapper.loadServlet(Standard
 Wrapper.ja
 v
 a:962)
   
 
  at
 
 
 org.apache.catalina.core.StandardWrapper.load(StandardWrapper
 .java:821

Linux CLASSPATH

2003-03-04 Thread Jeremy Whitlock
Tomcat List,
What files/directories should be in my CLASSPATH?
Thanks,
 
Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-0559
http://www.starprecision.com 
 


RE: Installation - Tomcat 4.1 - Windows 2K

2003-03-04 Thread Jeremy Whitlock
Check your CLASSPATH.  It needs to have the full path of the sevlet.jar
in it as well.  You will probably want to add the full path to the
j2ee.jar in there for good measure.  Hope this helps, Jeremy

-Original Message-
From: Graeme Blyth [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 12:11 PM
To: [EMAIL PROTECTED]
Subject: Installation - Tomcat 4.1 - Windows 2K

I have been unable to successfully install Tomcat 4.1 on a Windows 2000 
Server machine. After installation I get an error message when
connecting to 
Tomcat, the first two lines are shown below:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null


I believe it must have something to do with how the JAVA_HOME variable
is 
configured on my machine. Below is the path I am using with the above 
variable name:

C:\Program Files\Java\j2re1.4.1_01

Any help is appreciated.

Baco






_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Installation - Tomcat 4.1 - Windows 2K

2003-03-04 Thread Jeremy Whitlock
Filip,
The classpath is very important.  Here is an installation guide
I've used many times to install tomcat.  It worked every time and it
tells you to set your classpath to include the servlet.jar on Windows
machines.  Here is the link:

http://www.moreservlets.com/Using-Tomcat-4.html

Hope this helps, Jeremy

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 12:20 PM
To: Tomcat Users List
Subject: RE: Installation - Tomcat 4.1 - Windows 2K

don't set your CLASSPATH, tomcat doesn't use it.

Make sure your JAVA_HOME points to a JDK installation, not JRE.

Filip

-Original Message-
From: Graeme Blyth [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: Installation - Tomcat 4.1 - Windows 2K


I have been unable to successfully install Tomcat 4.1 on a Windows 2000 
Server machine. After installation I get an error message when
connecting to 
Tomcat, the first two lines are shown below:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null


I believe it must have something to do with how the JAVA_HOME variable
is 
configured on my machine. Below is the path I am using with the above 
variable name:

C:\Program Files\Java\j2re1.4.1_01

Any help is appreciated.

Baco






_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Installation - Tomcat 4.1 - Windows 2K

2003-03-04 Thread Jeremy Whitlock
Michael,
What you say makes since but this link
http://www.moreservlets.com/Using-Tomcat-4.html#Set-CLASSPATH also makes
since.  I have used this guide for all installations on my Windows
machines and never had problems.  I'm not disagreeing but it worked for
me to follow the guide and the guide says to include servlet.jar in the
CLASSPATH.  Go to the link, it explains why they say to do that as well.
Thanks, Jeremy

-Original Message-
From: Tam, Michael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 12:31 PM
To: 'Tomcat Users List'
Subject: RE: Installation - Tomcat 4.1 - Windows 2K

Jeremy,

Classpath is not required.  What you need is JAVA_HOME which set to jdk
directory i.e. c:\j2sdk1.4.1.
I believe classpath was written in the registry during the installation
of
jdk (windows).

Regards,
Michael

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 11:22 AM
To: 'Tomcat Users List'
Subject: RE: Installation - Tomcat 4.1 - Windows 2K


Filip,
The classpath is very important.  Here is an installation guide
I've used many times to install tomcat.  It worked every time and it
tells you to set your classpath to include the servlet.jar on Windows
machines.  Here is the link:

http://www.moreservlets.com/Using-Tomcat-4.html

Hope this helps, Jeremy

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 12:20 PM
To: Tomcat Users List
Subject: RE: Installation - Tomcat 4.1 - Windows 2K

don't set your CLASSPATH, tomcat doesn't use it.

Make sure your JAVA_HOME points to a JDK installation, not JRE.

Filip

-Original Message-
From: Graeme Blyth [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: Installation - Tomcat 4.1 - Windows 2K


I have been unable to successfully install Tomcat 4.1 on a Windows 2000 
Server machine. After installation I get an error message when
connecting to 
Tomcat, the first two lines are shown below:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null


I believe it must have something to do with how the JAVA_HOME variable
is 
configured on my machine. Below is the path I am using with the above 
variable name:

C:\Program Files\Java\j2re1.4.1_01

Any help is appreciated.

Baco






_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Installation - Tomcat 4.1 - Windows 2K

2003-03-04 Thread Jeremy Whitlock
Filip,
You are correct.  Holla, J

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 1:03 PM
To: Tomcat Users List
Subject: RE: Installation - Tomcat 4.1 - Windows 2K

Jeremy,

your doc sets the CLASSPATH for the development environment.
there is NO NEED to set this variable for running tomcat.

the dude asked a question why his JSPs didn't compile, and that is
because his JAVA_HOME is not pointing to a JDK

Filip

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 11:33 AM
To: 'Tomcat Users List'
Subject: RE: Installation - Tomcat 4.1 - Windows 2K


Michael,
What you say makes since but this link
http://www.moreservlets.com/Using-Tomcat-4.html#Set-CLASSPATH also makes
since.  I have used this guide for all installations on my Windows
machines and never had problems.  I'm not disagreeing but it worked for
me to follow the guide and the guide says to include servlet.jar in the
CLASSPATH.  Go to the link, it explains why they say to do that as well.
Thanks, Jeremy

-Original Message-
From: Tam, Michael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 12:31 PM
To: 'Tomcat Users List'
Subject: RE: Installation - Tomcat 4.1 - Windows 2K

Jeremy,

Classpath is not required.  What you need is JAVA_HOME which set to jdk
directory i.e. c:\j2sdk1.4.1.
I believe classpath was written in the registry during the installation
of
jdk (windows).

Regards,
Michael

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 11:22 AM
To: 'Tomcat Users List'
Subject: RE: Installation - Tomcat 4.1 - Windows 2K


Filip,
The classpath is very important.  Here is an installation guide
I've used many times to install tomcat.  It worked every time and it
tells you to set your classpath to include the servlet.jar on Windows
machines.  Here is the link:

http://www.moreservlets.com/Using-Tomcat-4.html

Hope this helps, Jeremy

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 12:20 PM
To: Tomcat Users List
Subject: RE: Installation - Tomcat 4.1 - Windows 2K

don't set your CLASSPATH, tomcat doesn't use it.

Make sure your JAVA_HOME points to a JDK installation, not JRE.

Filip

-Original Message-
From: Graeme Blyth [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: Installation - Tomcat 4.1 - Windows 2K


I have been unable to successfully install Tomcat 4.1 on a Windows 2000 
Server machine. After installation I get an error message when
connecting to 
Tomcat, the first two lines are shown below:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null


I believe it must have something to do with how the JAVA_HOME variable
is 
configured on my machine. Below is the path I am using with the above 
variable name:

C:\Program Files\Java\j2re1.4.1_01

Any help is appreciated.

Baco






_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Linux CLASSPATH

2003-03-04 Thread Jeremy Whitlock
Kenny,
Thanks a lot.  That helps.  I don't have the servlet.jar in
the CLASSPATH yet but everything seems to be working properly.  Say,
do I need j2ee.jar in my CLASSPATH anywhere?  For some reason I have
it in my Windows box.  Thanks, Jeremy

-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 12:43 PM
To: Tomcat Users List
Subject: Re: Linux CLASSPATH

It depends on what libraries you want to have access to.  My classpath
is:

CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/common/lib/servlet.
jar
CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/classes12.jar
CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/jakarta-regexp-
1.2.
jar
CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/jfreechart-0.9.
3.ja
r
CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/jcommon-0.7.0.j
ar
CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/itext-0.96.jar
export CLASSPATH

These lines give me access to (in order):

servlet.jar (http servlet classes)
classes12.jar (Oracle jdbc classes)
jakarta-regexp-1.2.jar (Apache's regular expression classes)
jfreechart-0.9.3.jar (JFreeChart charting classes)
jcommon-0.7.0.jar (more JFreeChart classes)
itext-0.9.6.jar (iText PDF generation classes)

I hope this info helps.  Let me know if you need more clarification.
Kenny


- Original Message -
From: Jeremy Whitlock [EMAIL PROTECTED]
To: Tomcat [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 11:42 AM
Subject: Linux CLASSPATH


 Tomcat List,
 What files/directories should be in my CLASSPATH?
 Thanks,

 Jeremy Whitlock --- MCP/MCSA
 IT Manager for Star Precision, Inc.
 Phone:  (970) 535-4795
 Metro:  (303) 926-0559
 Fax:  (970) 535-0780
 Metro Fax:  (303) 926-0559
 http://www.starprecision.com




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Installation - Tomcat 4.1 - Windows 2K

2003-03-04 Thread Jeremy Whitlock
Jon,
I have agreed that I was wrong.  That is a good document to
install though.  Later, J

-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 1:09 PM
To: Tomcat Users List
Subject: Re: Installation - Tomcat 4.1 - Windows 2K

My dev machine is XP. I haven't set an explicit classpath and everything

works fine. So long as JAVA_HOME is set correctly to a JDK installation 
everything is sweet. Tomcat has all the jars it needs to compile jsp
files.

I read the link. It says to set the classpath so that DEVELOPERS can 
compile their servlets and helper classes prior to deploying the web 
application.

Hope this helps,

Jon

Jeremy Whitlock wrote:

Michael,
   What you say makes since but this link
http://www.moreservlets.com/Using-Tomcat-4.html#Set-CLASSPATH also
makes
since.  I have used this guide for all installations on my Windows
machines and never had problems.  I'm not disagreeing but it worked for
me to follow the guide and the guide says to include servlet.jar in the
CLASSPATH.  Go to the link, it explains why they say to do that as
well.
Thanks, Jeremy

  





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Linux CLASSPATH

2003-03-04 Thread Jeremy Whitlock
Filip,
I know this.  I have my Windows box setup and it has references
to servlet.jar and j2ee.jar and I didn't know if I needed those in
my Linux box.  Later, J

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 1:05 PM
To: Tomcat Users List
Subject: RE: Linux CLASSPATH

okey dokey,

here we go again, in order to run Tomcat on any platform, do NOT set the
CLASSPATH variable. tomcat completely ignores it

however, you can do this

export JAVA_HOME=/usr/local/jdk1.4
export PATH=$PATH:$JAVA_HOME/bin

and then you just start tomcat by example

$TOMCAT_HOME/bin/catalina.sh run

Filip

-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 11:43 AM
To: Tomcat Users List
Subject: Re: Linux CLASSPATH


It depends on what libraries you want to have access to.  My classpath
is:

CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/common/lib/servlet.
jar
CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/classes12.jar
CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/jakarta-regexp-
1.2.
jar
CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/jfreechart-0.9.
3.ja
r
CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/jcommon-0.7.0.j
ar
CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/itext-0.96.jar
export CLASSPATH

These lines give me access to (in order):

servlet.jar (http servlet classes)
classes12.jar (Oracle jdbc classes)
jakarta-regexp-1.2.jar (Apache's regular expression classes)
jfreechart-0.9.3.jar (JFreeChart charting classes)
jcommon-0.7.0.jar (more JFreeChart classes)
itext-0.9.6.jar (iText PDF generation classes)

I hope this info helps.  Let me know if you need more clarification.
Kenny


- Original Message -
From: Jeremy Whitlock [EMAIL PROTECTED]
To: Tomcat [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 11:42 AM
Subject: Linux CLASSPATH


 Tomcat List,
 What files/directories should be in my CLASSPATH?
 Thanks,

 Jeremy Whitlock --- MCP/MCSA
 IT Manager for Star Precision, Inc.
 Phone:  (970) 535-4795
 Metro:  (303) 926-0559
 Fax:  (970) 535-0780
 Metro Fax:  (303) 926-0559
 http://www.starprecision.com




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Linux CLASSPATH

2003-03-04 Thread Jeremy Whitlock
)
   at java.lang.reflect.Method.invoke(Native Method)
   at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Any ideas?  Thanks, Jeremy

-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 2:39 PM
To: Tomcat Users List
Subject: Re: Linux CLASSPATH

We understand that...he wanted to know what my classpath looked like
(nothing to do with Tomcat).
Kenny

- Original Message -
From: Filip Hanik [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 2:04 PM
Subject: RE: Linux CLASSPATH


 okey dokey,

 here we go again, in order to run Tomcat on any platform, do NOT set
the
CLASSPATH variable. tomcat completely ignores it

 however, you can do this

 export JAVA_HOME=/usr/local/jdk1.4
 export PATH=$PATH:$JAVA_HOME/bin

 and then you just start tomcat by example

 $TOMCAT_HOME/bin/catalina.sh run

 Filip

 -Original Message-
 From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 04, 2003 11:43 AM
 To: Tomcat Users List
 Subject: Re: Linux CLASSPATH


 It depends on what libraries you want to have access to.  My classpath
is:


CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/common/lib/servlet.
jar
 CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/classes12.jar

CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/jakarta-regexp-
1.2.
 jar

CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/jfreechart-0.9.
3.ja
 r

CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/jcommon-0.7.0.j
ar

CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/itext-0.96.jar
 export CLASSPATH

 These lines give me access to (in order):

 servlet.jar (http servlet classes)
 classes12.jar (Oracle jdbc classes)
 jakarta-regexp-1.2.jar (Apache's regular expression classes)
 jfreechart-0.9.3.jar (JFreeChart charting classes)
 jcommon-0.7.0.jar (more JFreeChart classes)
 itext-0.9.6.jar (iText PDF generation classes)

 I hope this info helps.  Let me know if you need more clarification.
 Kenny


 - Original Message -
 From: Jeremy Whitlock [EMAIL PROTECTED]
 To: Tomcat [EMAIL PROTECTED]
 Sent: Tuesday, March 04, 2003 11:42 AM
 Subject: Linux CLASSPATH


  Tomcat List,
  What files/directories should be in my CLASSPATH?
  Thanks,
 
  Jeremy Whitlock --- MCP/MCSA
  IT Manager for Star Precision, Inc.
  Phone:  (970) 535-4795
  Metro:  (303) 926-0559
  Fax:  (970) 535-0780
  Metro Fax:  (303) 926-0559
  http://www.starprecision.com
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Linux CLASSPATH

2003-03-04 Thread Jeremy Whitlock
Kenny,
Thanks a lot.  I am stumped as to why I'm getting this error.
No worries, it will get figured out in due time.  Thanks, Jeremy

-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 2:54 PM
To: Tomcat Users List
Subject: Re: Linux CLASSPATH

There are situations where you need it (j2ee.jar) but I personally
haven't
had one (I've just read that some people need it for their compilation).
Hope this helps,
Kenny

- Original Message -
From: Jeremy Whitlock [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 2:07 PM
Subject: RE: Linux CLASSPATH


 Kenny,
 Thanks a lot.  That helps.  I don't have the servlet.jar in
 the CLASSPATH yet but everything seems to be working properly.  Say,
 do I need j2ee.jar in my CLASSPATH anywhere?  For some reason I have
 it in my Windows box.  Thanks, Jeremy

 -Original Message-
 From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 04, 2003 12:43 PM
 To: Tomcat Users List
 Subject: Re: Linux CLASSPATH

 It depends on what libraries you want to have access to.  My classpath
 is:


CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/common/lib/servlet.
 jar
 CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/classes12.jar

CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/jakarta-regexp-
 1.2.
 jar

CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/jfreechart-0.9.
 3.ja
 r

CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/jcommon-0.7.0.j
 ar

CLASSPATH=$CLASSPATH:/usr/local/jakarta-tomcat-4.0.6/lib/itext-0.96.jar
 export CLASSPATH

 These lines give me access to (in order):

 servlet.jar (http servlet classes)
 classes12.jar (Oracle jdbc classes)
 jakarta-regexp-1.2.jar (Apache's regular expression classes)
 jfreechart-0.9.3.jar (JFreeChart charting classes)
 jcommon-0.7.0.jar (more JFreeChart classes)
 itext-0.9.6.jar (iText PDF generation classes)

 I hope this info helps.  Let me know if you need more clarification.
 Kenny


 - Original Message -
 From: Jeremy Whitlock [EMAIL PROTECTED]
 To: Tomcat [EMAIL PROTECTED]
 Sent: Tuesday, March 04, 2003 11:42 AM
 Subject: Linux CLASSPATH


  Tomcat List,
  What files/directories should be in my CLASSPATH?
  Thanks,
 
  Jeremy Whitlock --- MCP/MCSA
  IT Manager for Star Precision, Inc.
  Phone:  (970) 535-4795
  Metro:  (303) 926-0559
  Fax:  (970) 535-0780
  Metro Fax:  (303) 926-0559
  http://www.starprecision.com
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat on WinXP

2003-03-04 Thread Jeremy Whitlock
As Far As I Know...Just figured it out myself as well.

-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 3:00 PM
To: Tomcat Users List
Subject: Re: Tomcat on WinXP

What is AFAIK?  Sorry to ask but I see it all the time and I've not been
able to figure it out (:p
Kenny

- Original Message -
From: Erik Price [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 3:02 PM
Subject: Re: Tomcat on WinXP




 Denise Mangano wrote:

  I have my JAVA_HOME set to point to my c:\jdk1.4.1\bin

 No, that is not the home of your JDK installation.  The home is
the
 main directory -- c:\jdk1.4.1 -- so change JAVA_HOME so that it
points
 to this directory.

  and export JAVA_HOME
  in my PATH variable.

 If you are running Windows, why do you use export?  AFAIK that's a
 bash shell construct (unless you're running Cygwin to get the bash
shell
 running on Windows, in which case none of what I'm about to say
 applies).  The PATH environment variable simply contains a list of
 directories that your shell should check for executables (programs
that
 often end in .exe).  Because quite a few of the tools used by Java
 programmers are executables in the bin directory of the JAVA_HOME
 location, it is often recommended that developers add this directory
to
 their PATH.  Assuming that said developer has already defined a
 JAVA_HOME environment variable to point to their JDK's home
directory
 (in your case this is c:\jdk1.4.1), all you need to do is make sure
that
 the PATH environment variable contains one of the following:

%JAVA_HOME%\bin  -- for non-Cygwin Windows systems
$JAVA_HOME/bin   -- for unix/linux-based systems (such as Cygwin on
Win32)

 It's like taking a shortcut instead of simply using the full path:

c:\j2sdk1.4.1\bin -- for non-Cygwin Windows systems
/usr/local/j2sdk1.4.1/bin -- for unix/linux-based systems

 Of course, it really all depends on where you installed the JDK in the
 first place, not every Unix system has it in /usr/local and not every
 Wintel box has it in c:\.

  I checked the error logs, and for some reason it is
  saying unable to find java compiler.

 This suggests that the javac compiler is not being found in any of
the
 directories in your PATH environment variable.  Make sure that your
PATH
 environment variable contains the bin directory of your JAVA_HOME.

I created a simple test.java in my
  G:\tomcat directory and tried to compile from the command prompt.  I
receive
  no error messages but the file does not compile.  (When I performed
the
same
  test on my C:\ drive it compiled fine).
 
  Can someone please let me know if having the JDK on a separate
partition
  could be causing my problem? If so then I would imagine I have to
install
  the JDK on the same partition - but would this cause conflicts with
the
JDK
  I have installed on the C:\ drive.

 I don't think the partition on which the JDK is installed really
 matters.  What's important is that your environment variable JAVA_HOME
 points to the location of the JDK so that tools expecting to use the
JDK
 know where to find it, and that the java, jar, and javac tools
are
 in one of the directories on your PATH.  Adjust your PATH environment
 variable to make sure.


 Erik


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat as Linux Service

2003-03-03 Thread Jeremy Whitlock
Tomcat List,
Does anyone know how to get Tomcat to be a service on a
Linux Box?  Thanks,
 
Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-0559
http://www.starprecision.com 
 


RE: Tomcat as Linux Service

2003-03-03 Thread Jeremy Whitlock
Mike,
What I'm looking for is similar to the way you can start Apache.
In the Service Tool in Red Hat, it lists all available services where
you can start/stop/restart from there or you can /sbin/service
servicename start.  Here is the script for Apache:

#!/bin/bash
#
# Startup script for the Apache Web Server
#
# chkconfig: - 85 15
# description: Apache is a World Wide Web server. It is used to serve \
# HTML files and CGI.
# processname: httpd
# pidfile: /var/run/httpd.pid
# config: /usr/local/apache2/conf/httpd.conf

# Source function library.
. /etc/rc.d/init.d/functions

if [ -f /etc/sysconfig/httpd ]; then
. /etc/sysconfig/httpd
fi

# This will prevent initlog from swallowing up a pass-phrase prompt if
# mod_ssl needs a pass-phrase from the user.
INITLOG_ARGS=

# Path to the apachectl script, server binary, and short-form for
messages.
apachectl=/usr/local/apache2/bin/apachectl
httpd=/usr/local/apache2/bin/httpd
prog=httpd
RETVAL=0

# check for 1.3 configuration
check13 () {
CONFFILE=/usr/local/apache2/conf/httpd.conf
GONE=(ServerType|BindAddress|Port|AddModule|ClearModuleList|
GONE=${GONE}AgentLog|RefererLog|RefererIgnore|FancyIndexing|
GONE=${GONE}AccessConfig|ResourceConfig)
if grep -Eiq ^[[:space:]]*($GONE) $CONFFILE; then
echo
echo 12  Apache 1.3 configuration directives found
echo 12  please read
/usr/local/apache2/doc/httpd-2.0.40/migration.html
failure Apache 1.3 config directives test
echo
exit 1
fi
}

# The semantics of these two functions differ from the way apachectl
does
# things -- attempting to start while running is a failure, and shutdown
# when not running is also a failure. So we just do it the way init
scripts
# are expected to behave here.
start() {
echo -n $Starting $prog: 
check13 || exit 1
daemon $httpd $OPTIONS
RETVAL=$?
echo
[ $RETVAL = 0 ]  touch /var/lock/subsys/httpd
return $RETVAL
}
stop() {
echo -n $Stopping $prog: 
killproc $httpd
RETVAL=$?
echo
[ $RETVAL = 0 ]  rm -f /var/lock/subsys/httpd /var/run/httpd.pid
}
reload() {
echo -n $Reloading $prog: 
check13 || exit 1
killproc $httpd -HUP
RETVAL=$?
echo
}

# See how we were called.
case $1 in
start)
start
;;
stop)
stop
;;
status)
status $httpd
RETVAL=$?
;;
restart)
stop
start
;;
condrestart)
if [ -f /var/run/httpd.pid ] ; then
stop
start
fi
;;
reload)
reload
;;
graceful|help|configtest|fullstatus)
$apachectl $@
RETVAL=$?
;;
*)
echo $Usage: $prog
{start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|c
onfigtest}
exit 1
esac

exit $RETVAL

Make sense what I want to do?  Thanks, Jeremy

-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 03, 2003 11:18 AM
To: Tomcat Users List
Subject: RE: Tomcat as Linux Service

nohup $TOMCAT_HOME/bin/startup.sh 

--mikej
-=-
mike jackson
[EMAIL PROTECTED] 

 -Original Message-
 From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 03, 2003 10:11 AM
 To: Tomcat
 Subject: Tomcat as Linux Service
 
 
 Tomcat List,
 Does anyone know how to get Tomcat to be a service on
a
 Linux Box?  Thanks,
  
 Jeremy Whitlock --- MCP/MCSA
 IT Manager for Star Precision, Inc.
 Phone:  (970) 535-4795
 Metro:  (303) 926-0559
 Fax:  (970) 535-0780
 Metro Fax:  (303) 926-0559
 http://www.starprecision.com 
  
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat as Linux Service

2003-03-03 Thread Jeremy Whitlock
Yes.  Right now I use the earlier posted script to start/stop/reload
apache via /sbin/service httpd start and I'd like to do the same with
tomcat.  Here's how it would work:

Case 1) Start - It would check to see if Tomcat is already running.
If it's not running, start it.  If it's running already, echo a message.

Case2) Stop - It would check to see if Tomcat is running.  If it's
running, stop it.  If it's not, echo a message.

Case 3) Restart/Reload - It would check to see if Tomcat is running.
If it is, stop the service then start it.  If it's not running, echo a
message.

How can I do this?  I see items in the Apache start script that would do
this but I don't know what some of the others are.  Can someone help me
achieve this?  This file would be /etc/init.d/tomcat after it's
completed.  I would then chkconfig --add tomcat and boom, I have a
service.  Any help would be greatly appreciated.  Thanks, Jeremy


-Original Message-
From: p2 - apache [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 03, 2003 11:35 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat as Linux Service

You mean create a service to start/shutdown a daemon?

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] 
Sent: March 3, 2003 1:11 PM
To: Tomcat
Subject: Tomcat as Linux Service

Tomcat List,
Does anyone know how to get Tomcat to be a service on a
Linux Box?  Thanks,
 
Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-0559
http://www.starprecision.com 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat as Linux Service

2003-03-03 Thread Jeremy Whitlock
DG,
What are the names of them?  Thanks, Jeremy

-Original Message-
From: Daniel Graham [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 03, 2003 11:48 AM
To: Tomcat Users List
Subject: Re: Tomcat as Linux Service

The RPM's of tomcat4 that I've found recently (RedHat/Mandrake) all
have pre-built startup and stop scripts). 

You could locate one of those.

DG
- Original Message - 
From: Jeremy Whitlock [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, March 03, 2003 6:40 PM
Subject: RE: Tomcat as Linux Service


 Yes.  Right now I use the earlier posted script to start/stop/reload
 apache via /sbin/service httpd start and I'd like to do the same
with
 tomcat.  Here's how it would work:
 
 Case 1) Start - It would check to see if Tomcat is already running.
 If it's not running, start it.  If it's running already, echo a
message.
 
 Case2) Stop - It would check to see if Tomcat is running.  If it's
 running, stop it.  If it's not, echo a message.
 
 Case 3) Restart/Reload - It would check to see if Tomcat is running.
 If it is, stop the service then start it.  If it's not running, echo a
 message.
 
 How can I do this?  I see items in the Apache start script that would
do
 this but I don't know what some of the others are.  Can someone help
me
 achieve this?  This file would be /etc/init.d/tomcat after it's
 completed.  I would then chkconfig --add tomcat and boom, I have a
 service.  Any help would be greatly appreciated.  Thanks, Jeremy
 
 
 -Original Message-
 From: p2 - apache [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 03, 2003 11:35 AM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat as Linux Service
 
 You mean create a service to start/shutdown a daemon?
 
 -Original Message-
 From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] 
 Sent: March 3, 2003 1:11 PM
 To: Tomcat
 Subject: Tomcat as Linux Service
 
 Tomcat List,
 Does anyone know how to get Tomcat to be a service on
a
 Linux Box?  Thanks,
  
 Jeremy Whitlock --- MCP/MCSA
 IT Manager for Star Precision, Inc.
 Phone:  (970) 535-4795
 Metro:  (303) 926-0559
 Fax:  (970) 535-0780
 Metro Fax:  (303) 926-0559
 http://www.starprecision.com 
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mod_jk

2003-03-03 Thread Jeremy Whitlock
John,
I went to your page and it's for a Windows machine.  I'm running
Linux.  Can someone help me configure mod_jk?  I have downloaded it,
changed the name to mod_jk.so and I have put it into the APACHE/modules
folder.  What next?  Thanks, Jeremy

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 9:25 AM
To: 'Tomcat Users List'
Subject: RE: mod_jk


Yes, .44 is module compatible with .43.   For more info, check out my RH
HOWTO for Apache + JK + Tomcat:

http://www.johnturner.com/howto

John

 -Original Message-
 From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 28, 2003 11:11 AM
 To: Tomcat
 Subject: mod_jk
 
 
 Tomcat-List,
 I have just built a new Red Hat machine and I 
 installed
 it with no preinstalled Web Server or Databases so that I 
 could install
 them myself.  I have Apache 2.0.44 and I wanted to integrate 
 Tomcat.  I
 downloaded mod_jk-2.0.43 and I need to know if it will work 
 with Apache
 2.0.44.  Thanks,
  
 Jeremy Whitlock --- MCP/MCSA
 IT Manager for Star Precision, Inc.
 Phone:  (970) 535-4795
 Metro:  (303) 926-0559
 Fax:  (970) 535-0780
 Metro Fax:  (303) 926-0559
 http://www.starprecision.com 
  
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mod_jk

2003-03-03 Thread Jeremy Whitlock
Filip,
You are correct and my impatience has gotten me.  Sorry for the
inconvenience, Jeremy

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 03, 2003 1:18 PM
To: Tomcat Users List
Subject: RE: mod_jk

how about a RTFM on this one! :)

http://www.johnturner.com/howto/rh72-howto.html

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 12:14 PM
To: 'Tomcat Users List'
Subject: RE: mod_jk


John,
I went to your page and it's for a Windows machine.  I'm running
Linux.  Can someone help me configure mod_jk?  I have downloaded it,
changed the name to mod_jk.so and I have put it into the APACHE/modules
folder.  What next?  Thanks, Jeremy

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 9:25 AM
To: 'Tomcat Users List'
Subject: RE: mod_jk


Yes, .44 is module compatible with .43.   For more info, check out my RH
HOWTO for Apache + JK + Tomcat:

http://www.johnturner.com/howto

John

 -Original Message-
 From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 28, 2003 11:11 AM
 To: Tomcat
 Subject: mod_jk
 
 
 Tomcat-List,
 I have just built a new Red Hat machine and I 
 installed
 it with no preinstalled Web Server or Databases so that I 
 could install
 them myself.  I have Apache 2.0.44 and I wanted to integrate 
 Tomcat.  I
 downloaded mod_jk-2.0.43 and I need to know if it will work 
 with Apache
 2.0.44.  Thanks,
  
 Jeremy Whitlock --- MCP/MCSA
 IT Manager for Star Precision, Inc.
 Phone:  (970) 535-4795
 Metro:  (303) 926-0559
 Fax:  (970) 535-0780
 Metro Fax:  (303) 926-0559
 http://www.starprecision.com 
  
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mod_jk

2003-03-03 Thread Jeremy Whitlock
John,
Didn't see the Red Hat ones.  I found and they worked.  Thanks,
Jeremy

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 03, 2003 1:27 PM
To: 'Tomcat Users List'
Subject: RE: mod_jk


No, there are HOWTOs there for Win2K/XP, Solaris 8, and RH 7.2/7.3.
Three
total.

John

 -Original Message-
 From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 03, 2003 3:14 PM
 To: 'Tomcat Users List'
 Subject: RE: mod_jk
 
 
 John,
   I went to your page and it's for a Windows machine.  I'm running
 Linux.  Can someone help me configure mod_jk?  I have downloaded it,
 changed the name to mod_jk.so and I have put it into the 
 APACHE/modules
 folder.  What next?  Thanks, Jeremy
 
 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED] 
 Sent: Friday, February 28, 2003 9:25 AM
 To: 'Tomcat Users List'
 Subject: RE: mod_jk
 
 
 Yes, .44 is module compatible with .43.   For more info, 
 check out my RH
 HOWTO for Apache + JK + Tomcat:
 
 http://www.johnturner.com/howto
 
 John
 
  -Original Message-
  From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
  Sent: Friday, February 28, 2003 11:11 AM
  To: Tomcat
  Subject: mod_jk
  
  
  Tomcat-List,
  I have just built a new Red Hat machine and I 
  installed
  it with no preinstalled Web Server or Databases so that I 
  could install
  them myself.  I have Apache 2.0.44 and I wanted to integrate 
  Tomcat.  I
  downloaded mod_jk-2.0.43 and I need to know if it will work 
  with Apache
  2.0.44.  Thanks,
   
  Jeremy Whitlock --- MCP/MCSA
  IT Manager for Star Precision, Inc.
  Phone:  (970) 535-4795
  Metro:  (303) 926-0559
  Fax:  (970) 535-0780
  Metro Fax:  (303) 926-0559
  http://www.starprecision.com 
   
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



mod_jk

2003-02-28 Thread Jeremy Whitlock
Tomcat-List,
I have just built a new Red Hat machine and I installed
it with no preinstalled Web Server or Databases so that I could install
them myself.  I have Apache 2.0.44 and I wanted to integrate Tomcat.  I
downloaded mod_jk-2.0.43 and I need to know if it will work with Apache
2.0.44.  Thanks,
 
Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone:  (970) 535-4795
Metro:  (303) 926-0559
Fax:  (970) 535-0780
Metro Fax:  (303) 926-0559
http://www.starprecision.com 
 


RE: mod_jk

2003-02-28 Thread Jeremy Whitlock
John,
Thanks for your help.  Do you think that since I didn't install
apache via Red Hat installer that the document might not work for me?
They use an older version of Apache.  Thanks, Jeremy

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 9:25 AM
To: 'Tomcat Users List'
Subject: RE: mod_jk


Yes, .44 is module compatible with .43.   For more info, check out my RH
HOWTO for Apache + JK + Tomcat:

http://www.johnturner.com/howto

John

 -Original Message-
 From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 28, 2003 11:11 AM
 To: Tomcat
 Subject: mod_jk
 
 
 Tomcat-List,
 I have just built a new Red Hat machine and I 
 installed
 it with no preinstalled Web Server or Databases so that I 
 could install
 them myself.  I have Apache 2.0.44 and I wanted to integrate 
 Tomcat.  I
 downloaded mod_jk-2.0.43 and I need to know if it will work 
 with Apache
 2.0.44.  Thanks,
  
 Jeremy Whitlock --- MCP/MCSA
 IT Manager for Star Precision, Inc.
 Phone:  (970) 535-4795
 Metro:  (303) 926-0559
 Fax:  (970) 535-0780
 Metro Fax:  (303) 926-0559
 http://www.starprecision.com 
  
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mod_jk

2003-02-28 Thread Jeremy Whitlock
Phillip,
Just the answer I was looking for.  Thanks a lot, Jeremy

-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 9:34 AM
To: 'Tomcat Users List'
Subject: RE: mod_jk

I see many problems when you include apache in your Red hat
installation. If
you make a clean build, John's document should perfectly meet your
requirement.

Regards,
 
 
PQ
 
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] 
Sent: February 28, 2003 11:28 AM
To: 'Tomcat Users List'
Subject: RE: mod_jk

John,
Thanks for your help.  Do you think that since I didn't install
apache via Red Hat installer that the document might not work for me?
They use an older version of Apache.  Thanks, Jeremy

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 9:25 AM
To: 'Tomcat Users List'
Subject: RE: mod_jk


Yes, .44 is module compatible with .43.   For more info, check out my RH
HOWTO for Apache + JK + Tomcat:

http://www.johnturner.com/howto

John

 -Original Message-
 From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 28, 2003 11:11 AM
 To: Tomcat
 Subject: mod_jk
 
 
 Tomcat-List,
 I have just built a new Red Hat machine and I 
 installed
 it with no preinstalled Web Server or Databases so that I 
 could install
 them myself.  I have Apache 2.0.44 and I wanted to integrate 
 Tomcat.  I
 downloaded mod_jk-2.0.43 and I need to know if it will work 
 with Apache
 2.0.44.  Thanks,
  
 Jeremy Whitlock --- MCP/MCSA
 IT Manager for Star Precision, Inc.
 Phone:  (970) 535-4795
 Metro:  (303) 926-0559
 Fax:  (970) 535-0780
 Metro Fax:  (303) 926-0559
 http://www.starprecision.com 
  
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ejbs and sql server

2003-02-28 Thread Jeremy Whitlock
Or look at OpenEJB.  It's easy to setup.  http://openejb.sourceforge.net
Later, J

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 1:24 PM
To: Tomcat Users List
Subject: RE: ejbs and sql server

nope, Tomcat is a servlet/jsp engine. Take a look at www.jboss.org

Filip

-Original Message-
From: Michael Ni [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 12:21 PM
To: [EMAIL PROTECTED]
Subject: RE: ejbs and sql server


im unclear how EJBs work with tomkat.  do we just put all the classfiles

inside WEB-INF and they work?

mike






From: Tam, Michael [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: ejbs and sql server
Date: Fri, 28 Feb 2003 15:01:10 -0500

Well, you should try search example online i.e. through google.  EJB is
a
standard and should work with any DBMS (usually ;) ). Once you find an
example and it should work on your choice of DBMS.

-Original Message-
From: Michael Ni [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 11:28 AM
To: [EMAIL PROTECTED]
Subject: ejbs and sql server


Hi does anyone have examples of EJBs that connect to SQL Server 2000?
I
have different queries that i want to run but i want to make my
connection
and queries in a EJB so i dont have to retype it in my JSP pages every
time
i need it.  Also does anyone have examples of JSP pages calling EJBs?

mike





_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Can execute jsp tomcat examples servlets examples run ok

2003-02-28 Thread Jeremy Whitlock
Julio,
I remember this happening to me.  Make sure your classpath is
correct.  That is the cause of 90% of all problems.  I'll post mine:

.;C:\Apache Group\Apache Tomcat
4.0\common\lib\servlet.jar;C:\Apache;C:\Apache\Jeremy;C:\Java2SEDK\bin;C
:\Apache
Group\jakarta-ant-1.5.1\lib;C:\Java\java_xml_pack-summer-02_01\jaxp-1.2_
01\xalan.jar;C:\Java\java_xml_pack-summer-02_01\jaxp-1.2_01\jaxp-api.jar
;C:\Apache Group\Apache Tomcat
4.0\common\lib\xerces.jar;C:\Java2EEDK\lib\j2ee.jar

Hope this helps, Jeremy

-Original Message-
From: Julio César Mejia Vergara [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 1:34 PM
To: Tomcat Users List
Subject: Can execute jsp tomcat examples servlets examples run ok

Hello,

I got the servlets examples working but the jsp examples are giving me 
trouble and dont want to execute , i get a 404 Not Found when i try to 
access all the .jsp examples.
Here are my server.xml, workers.properties and httpd.conf
configurations.
Path to the files:
/opt/jakarta-tomcat-4.1.18/conf/server.xml
/opt/jakarta-tomcat-4.1.18/conf/jk/workers.properties
/usr/local/apache/conf/httpd.conf

Any suggestions

Julio

 Tomcat 4.1.18 server.xml configuration --
Server port=8005 shutdown=SHUTDOWN debug=0
Listener className=org.apache.catalina.mbeans.ServerLifecycleListener
debug=0/
  Listener 
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
debug=0/

  !-- Global JNDI resources --
  GlobalNamingResources

!-- Test entry for demonstration purposes --
Environment name=simpleValue type=java.lang.Integer
value=30/

!-- Editable user database that can also be used by
 UserDatabaseRealm to authenticate users --
Resource name=UserDatabase auth=Container
  type=org.apache.catalina.UserDatabase
   description=User database that can be updated and saved
/Resource
ResourceParams name=UserDatabase
  parameter
namefactory/name
 
valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
  /parameter
  parameter
namepathname/name
valueconf/tomcat-users.xml/value
  /parameter
/ResourceParams

  /GlobalNamingResources
  Service name=Tomcat-Standalone
!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8080 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=100 debug=0 connectionTimeout=2
   useURIValidationHack=false disableUploadTimeout=true
/

!-- Define an AJP 1.3 Connector on port 8009 --
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/

!-- Define the top level container in our container hierarchy --
Engine name=Standalone defaultHost=localhost debug=0
  !-- Global logger unless overridden at lower levels --
  Logger className=org.apache.catalina.logger.FileLogger
  prefix=catalina_log. suffix=.txt
  timestamp=true/
Realm className=org.apache.catalina.realm.UserDatabaseRealm
 debug=0 resourceName=UserDatabase/
!-- Define the default virtual host --
  Host name=localhost debug=0 appBase=webapps
   unpackWARs=true autoDeploy=true
  Logger className=org.apache.catalina.logger.FileLogger
 directory=logs  prefix=localhost_log. suffix=.txt
timestamp=true/
  !-- Tomcat Examples Context --
Context path=/examples docBase=examples debug=0
 reloadable=true crossContext=true
  Logger className=org.apache.catalina.logger.FileLogger
 prefix=localhost_examples_log. suffix=.txt
  timestamp=true/
  Ejb   name=ejb/EmplRecord type=Entity
 home=com.wombat.empl.EmployeeRecordHome
   remote=com.wombat.empl.EmployeeRecord/
  Environment name=maxExemptions type=java.lang.Integer
  value=15/
  Parameter name=context.param.name
value=context.param.value
 override=false/
  Resource name=jdbc/EmployeeAppDb auth=SERVLET
type=javax.sql.DataSource/
  ResourceParams name=jdbc/EmployeeAppDb
 
parameternameusername/namevaluesa/value/parameter
parameternamepassword/namevalue/value/parameter
parameternamedriverClassName/name
  valueorg.hsql.jdbcDriver/value/parameter
parameternameurl/name
  valuejdbc:HypersonicSQL:database/value/parameter
  /ResourceParams
  Resource name=mail/Session auth=Container
type=javax.mail.Session/
  ResourceParams name=mail/Session
parameter
  namemail.smtp.host/name
  valuelocalhost/value
/parameter
 

RE: ejbs and sql server [OT]

2003-02-28 Thread Jeremy Whitlock
Raja,
I did and didn't get it working.  Probably my fault but I ended
up with OpenEJB.  I love it.  It can be found at
http://openejb.sourceforge.net  Later, J

-Original Message-
From: Tam, Michael [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 3:21 PM
To: 'Tomcat Users List'
Subject: RE: ejbs and sql server [OT]

Hi Raja,

   Just curious, have you guys tried the JBOSS with embedded TOMCAT?

Regards,
Michael

-Original Message-
From: Raja Sekhar [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 2:19 PM
To: Tomcat Users List
Subject: RE: ejbs and sql server


Typically if you have a JSP  EJB scnearion, then deploye JSP's on
tomcat
and configure JBOSS as EJB Container for ejb components. The way we
configure Apache - Tomcat where tomcat acts as a JSP/ servlet engine,
here
we need to configure Tomcat  JBoss for EJB.

Regards,

..Raj
--

On Fri, 28 Feb 2003 17:09:11  
 Tam, Michael wrote:
That is only a simple java class.  I think you need to do some more
research
on EJB technology.  I haven't use EJB at all for almost 2 years but
I'll
give you my $.02 here (To experts, correct me if I am wrong about
this).  

EJB need to deployed in a EJB container which tomcat is not and in
order to
use EJB with tomcat you have to do something like the following:
1) Deploy your EJBs in the EJB container
2) Provide some interfaces of your EJBs to tomcat such that your app in
tomcat can use to contact the EJB container and call EJBs to work.

Hope this help.

cheers,
Michael

-Original Message-
From: Michael Ni [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 1:44 PM
To: [EMAIL PROTECTED]
Subject: RE: ejbs and sql server


http://128.91.107.144:8080/examples/jsp/index.html

in the tomcat examples there is an example date as shown in the url
above.

that date calls a class from web-apps/classes/date/JspCalendar.  they
claim

this is use of a jsp page making an instance of a ejb (java bean).  how
come

they didn't have to set up additional software?  but everyone is saying
you

need to install additional software so that tomcat can use ejbs?

mike ni






From: Jeremy Whitlock [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: ejbs and sql server
Date: Fri, 28 Feb 2003 13:23:04 -0700

Or look at OpenEJB.  It's easy to setup.
http://openejb.sourceforge.net
Later, J

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 1:24 PM
To: Tomcat Users List
Subject: RE: ejbs and sql server

nope, Tomcat is a servlet/jsp engine. Take a look at www.jboss.org

Filip

-Original Message-
From: Michael Ni [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 12:21 PM
To: [EMAIL PROTECTED]
Subject: RE: ejbs and sql server


im unclear how EJBs work with tomkat.  do we just put all the
classfiles

inside WEB-INF and they work?

mike






 From: Tam, Michael [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Subject: RE: ejbs and sql server
 Date: Fri, 28 Feb 2003 15:01:10 -0500
 
 Well, you should try search example online i.e. through google.  EJB
is
a
 standard and should work with any DBMS (usually ;) ). Once you find
an
 example and it should work on your choice of DBMS.
 
 -Original Message-
 From: Michael Ni [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 28, 2003 11:28 AM
 To: [EMAIL PROTECTED]
 Subject: ejbs and sql server
 
 
 Hi does anyone have examples of EJBs that connect to SQL Server
2000?
I
 have different queries that i want to run but i want to make my
connection
 and queries in a EJB so i dont have to retype it in my JSP pages
every
time
 i need it.  Also does anyone have examples of JSP pages calling
EJBs?
 
 mike
 
 
 
 
 
 _
 The new MSN 8: advanced junk mail protection and 2 months FREE*
 http://join.msn.com/?page=features/junkmail
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


_
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e