Re: JSP Newbie seeking guidance

2005-10-11 Thread Glen Mazza

Justin Jaynes wrote:


I would HIGHLY recommend using SuSE Linux 10 which can
be purchased or download from Novell directly at
suse.com.  Also, see the openSuSE project (essentially
the open source community effort half of the
SuSE/novell team).

I used to run RedHat but was disappointed in the drop
to Fedora.  I tried SuSE a few years ago and have
never looked back.  So easy to install and configure. 
The YaST systems management tool is amazing.  You can

still do everything the manual way (and I do
sometimes).  But the firewall is easy and strong, the
package management is simple, the install resizes
partitions (even NTFS).  Just so many highly polished
surfaces there.  Try SuSE and see if you ever go back.

I have run tomcat and SuSE in production for over a
year and not had a problem and am now in the process
of upgrading my production server to SuSE 10 and
tomcat 5.5.12.  So far so good.  It's all working in
my development area.  The improvements in 5.5.12 are
EXCELLENT.  But there are significant changes in how
you set up the server.xml file, so read up on the 5.5
doc page.  I had previously only been using 5.0.x. 
ALso, I had some glitchy problems with 5.5.9.  No

reason to download it now anyhow, since 5.5.12 is
stable release.

I also recommend PostgreSQL 8.0 from postgresql.org if
you need database (as i imagine you must) (open source
and fully ansiSQL standard and RDBMS compliant, unlike
mySQL --don't yell at me for saying so, please-- i
know how much many people love mySQL.

You have to build Postgresql from source on SuSE 10
since no rpms are out in the combination of those
versions of SuSE and PGSQL.  I tired to use older
RPMS--not a good idea.  But the build and install went
perfectly.  Be sure you have the proper dev packages
installed before you try.  If not, the documentation
tells all you need to know.

PostgreSQL 8.0, Tomcat 5.5.12, and SuSE 10 are real
winners.  I have had --no-- problems with the past
versions, and these new versions seem up to par or
better.

I LOVE SuSE 10.0 for my desktop environment/school
computing/web surfing/DVD watching(i use KDE) and run
everything just described on my Dell Inspiron 6000
notebook.  That's my developemnt envrionment. 
Obviously the combination of KDE and the servers on a
notebook are no match for my production environment. 
but I must say, my notebook and the software on it do

all I ever ask them to--school work, web surfing,
large SQL routines, JVM, Tomcat--and a fair bit of
graphics design.  All on open source software.  What a
wonderful world we live in.  (The DVD's I run on XINE,
which I had to build, since XINE is stripped down for
leagal reasons in SuSE 10, but the build installed
great and runs with no problem just by typing xine in
KDE).

Justin
--with more to say than you probably wanted to here



By no means--useful to me as well.  Thanks for sharing.

Glen


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



Re: Continuing Frustration and Misery with Deployer

2005-10-11 Thread Glen Mazza
What happens if you deploy using the Tomcat manager application?  Same 
error or doesn't occur then?  This may help zero in on the problem.


Glen

Allistair Crossley wrote:

Hi List,
 
Honestly, I wish Tomcat web application deployment would be easier/smarter. To pre-empt certain list members from telling me it's my fault, I can assure you my WAR itself is totally 100% no doubts valid. 
 
Perhaps it is my method of deploying that is causing the issue, I don't know. I am attempting to use the Tomcat Client Deployer (the Ant script that comes with deployer).
 
I use it to compile the WAR and now want to deploy it to a waiting Tomcat. I ensured my Tomcat webapps folder was wiped and the conf/Catalina/localhost had no context configuration files.
 
My WAR contains a META-INF/context.xml for deploying the context configuration.
 
After I compile my WAR with Deployer, I call 
 
C:\apache-tomcat-5.5.12-deployerant -Dserver=intratest deploy

Buildfile: build.xml
 
deploy:

   [deploy] OK - Deployed application at context path /ROOT
 
So it's deployed OK. 
 
I wait 5 minutes and then put a request into Tomcat. 404. Why? Because it failed to start the context which in a nutshell is all I ever get when deploying from WARs.
 
My WAR has been exploded fully which is at least something.
 
The logs reveal:
 
2005-10-07 16:18:29,882 -  WARN (org.apache.catalina.startup.HostConfig:597) - A docBase D:\jakarta-tomcat\webapps\ROOT inside the host appBase has been specified, and will be ignored

2005-10-07 16:18:30,163 - ERROR (org.apache.catalina.core.StandardContext:3796) 
- Error starting static Resources
java.lang.IllegalArgumentException: Document base 
D:\jakarta-tomcat\webapps\ROOT does not exist or is not a readable directory
 at 
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:140)
 at 
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3777)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3948)
 at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
 at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603)
 at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
 at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
 at org.apache.catalina.core.StandardService.start(StandardService.java:450)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2005-10-07 16:18:30,163 - ERROR (org.apache.catalina.core.StandardContext:3949) 
- Error in resourceStart()
2005-10-07 16:18:30,195 - ERROR (org.apache.catalina.core.StandardContext:4100) 
- Error getConfigured
2005-10-07 16:18:30,195 - ERROR (org.apache.catalina.core.StandardContext:4153) 
- Context [] startup failed due to previous errors
2005-10-07 16:18:30,195 -  INFO (org.apache.catalina.core.StandardContext:4250) 
- Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/] 
has not been started
 
It is not clear if this exception is thrown at the time when the WAR has not been exploded and of course ROOT will not exist.
 
My META-INF/context.xml has

Context docBase=/ROOT reloadable=true antiJARLocking=true antiResourceLocking=true 
swallowOutput=true

Does nobody else have issues with using the Deployer? Is it just me having all this bad luck? Honestly I am at my wits end with this deployment. I am fed up with manually having to deploy files to our Tomcat servers, exploding them myself and then restarting Tomcat. 


When will Deployer actually work?

Kindest, frustrated, Allistair.




FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---

QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474

Re: tomcat 3.2.4

2005-10-11 Thread Glen Mazza

http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html should be 3.2.4.

Glen

Steve Souza wrote:

Hi folks,

I'm new to the list, so I apologize in advance for any
faux pas I may commit here!

The question is simple - we'd like to get the 3.2.4
release of Tomcat, but do not see a download link on
the Apache site.  Is it archived somewhere?  I know
it's old, but we haven't moved to the new architecture
yet.

Many many thanks!

Regards,
Steve

-
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: Newbee question on servlet and html - Really frustated with this problem.

2005-10-10 Thread Glen Mazza
I think you are getting this error because Tomcat doesn't realize you 
are trying to activate the servlet.


You probably will need to look at your WEB-INF/web.xml of your web 
application.  You'll need a servlet/ entry that defines BeerSelect and 
a servlet-mapping/ that ties BeerSelect to its actual url-pattern. 
(/VBeer/BeerSelect) You can look at the web.xml in the servlet-examples 
webapp that comes with Tomcat for sample definitions.


Glen


Developer Developer escribió:

does anybody know how to fix this problem.
  Invocation of servlet prompts a messagebox posing a questions  do you
want to save this ? instead of executing it and returing the output in the
html document.
 :(

 On 10/10/05, Developer Developer [EMAIL PROTECTED] wrote:


I wrote my first html and servlet and deployed it on tomcat 5.5. The html
works okay when I call it from the browser. The servlet too works okay
when
I call its doget() method by invoking it from the browser. EG:.
http://localhost:8080/VBeer/BeerSelect
However, when i try to invoke the servlet from an html form I get a
message
box - (file download security warning) - Do you want to save this file ?
It has a
funny number suffixed to the my servlet name.


Not sure what is happening.
Here is my HTML code snippet.

body

h1 align =3D centerBeer selecton Page /h1

form method=3DPOST action=3DBeerSelect

pSelect Beer Characteristics/p

Thanks !







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



Re: JSP Newbie seeking guidance

2005-10-10 Thread Glen Mazza

John Geiger escribió:

Hello:

This is a little intimidating, but I am eager. I hope I am in the right
place.

I am a DHTML developer‹intermediate level. I¹ve been exposed to JSP on an
iPlanet server, Sun OS 5.8 (but it is my client¹s production server, and I¹m
reluctant to mess around there!)

I now have my own Tomcat install kind-of-working on a Fedora Core 2 box. It
is Tomcat 5.0.x with Apache 1.3.



Besides the other answers you will get, I would think you would want to 
run Tomcat standalone (i.e., have it process HTML pages as well), and 
not bother with connecting it to the Apache web server.  You are just 
learning about JSP right now; not hosting web applications, so Apache is 
probably an unnecessary distraction at this time.


Glen

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



Re: RTE - Meridian Club [EMAIL PROTECTED]

2005-10-07 Thread Glen Mazza
Arup misunderstood Leon's message and thought he lazily wanted others to 
unsubscribe him.  That was his main error.  But in fairness to Arup, 
flames can be called for when people ask to be unsubscribed from a 
technical mailing list that 1000's of other people are subscribed to.


People making such requests are usually either newbies who need to be 
jolted (and also thereby jolting/informing other newbies about to make 
the same request, keeping the ML free of additional requests), or by 
rather lazy people who know how to unsubscribe but don't want to bother. 
 The latter type might actually feed on the kid glove approach that 
David may be inclined to recommend.


Glen


David Short wrote:


Arup needs to work on his social skills.  We’re all here trying to help each
other, not to attack each other.



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



Re: Can someone remove RTE - Meridian Club [EMAIL PROTECTED] from this list [255817:132347]

2005-10-07 Thread Glen Mazza
I sent an email to [EMAIL PROTECTED] about 15 minutes ago.  But 
they're all-volunteer, and no one may be in right now to take care of it.


Glen


-Original Message-
From: Larry Meadors [EMAIL PROTECTED]
Received: 10/7/2005 5:30 PM
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Can someone remove RTE - Meridian Club [EMAIL PROTECTED] from this 
list

No, not my email address, I know how to subscribe/unsubscribe, thatnks.

This one needs to be removed: RTE - Meridian Club [EMAIL PROTECTED]

Please?

Larry

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






--
Meridian Club
Unit 5, Caxton Centre
Porters Wood
St Albans
Herts
UNITED KINGDOM
AL3 6XT

Tel: +44 1727 738855
Fax: +44 1700 578955
email: [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]