Re: going nuts here

2005-04-20 Thread John Najarian
In HTML use the 'alt' feature with the 'img' tag.

-Original Message-
From: Didier McGillis <[EMAIL PROTECTED]>
Sent: Apr 20, 2005 2:35 PM
To: tomcat-user@jakarta.apache.org
Subject: going nuts here

I want to see if an image exists I dont want red "x"'s
yet I cant seem to get the real path to check with File so is there another 
way.



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



Archive?

2005-04-18 Thread John Najarian
Is there an archive of the questions and replies?  If so where?  What is the 
URL.

Thank you,

John Najarian

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



Re: localhost ok - how I set up in a real host?

2005-03-17 Thread John Najarian
Set a hostname up in etc/hosts and access it.

-Original Message-
From: QM <[EMAIL PROTECTED]>
Sent: Mar 17, 2005 12:31 PM
To: Tomcat Users List 
Subject: Re: localhost ok - how I set up in a real host?

On Thu, Mar 17, 2005 at 05:24:12PM -0300, [EMAIL PROTECTED] wrote:
: I succesfully executed a tutorial form servlet in the computer. Now I want to 
try it on a web host.
: But, I am using a free host (beplaced.com) that I don't know if accepts java 
servlets. Questions:
: 
: 1) How do I know if the server accepts java servlets?

Just ask them.  If they don't boast about it in their list of offerings,
though, then it's probably not available.

There's far less Java web hosting out there than there is standard
HTML/PHP/CGI hosting.  I'd be surprised to see a free host do it.

(Not to say that I've never been surprised, though... ;)

-QM


-- 

software   -- http://www.brandxdev.net
tech news  -- http://www.RoarNetworX.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: Looking for Java programmers

2005-03-02 Thread John Najarian
I'll send you my resume Saturday, I'm on vacation.

-Original Message-
From: Manish Poddar <[EMAIL PROTECTED]>
Sent: Mar 2, 2005 2:59 PM
To: Tomcat Users List 
Subject: Looking for Java programmers

I am looking for 1-2 mid level Java programmers for a job in Marina Del
Rey,California. The operating system we use is Linux, the web servers
Tomcat/Apache and programming language Java, Python, Jython, Perl, PHP.
Network and Linux knowledge a definite plus.

There is a lot of potential for growth, and learning in our company. 
Only interested candidates need to apply, no third parties please.
Resumes (zipped docs only) accepted only by email, please do not call.

-- 
Manish Poddar
Development Team Manager


-
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 problems on Windows

2005-03-01 Thread John Najarian
Jason, go to the tomcat site and look how to remove the tomcat service.  You'll 
do it on a command line.

-Original Message-
From: [EMAIL PROTECTED]
Sent: Mar 1, 2005 3:04 PM
To: Tomcat Users List 
Subject: Re: Installation problems on Windows



Jason,

Definitely *not* a stupid question, as the answer is "yes."

Don't know how it got there, and it doesn't work (can't look at properties,
can't start it, probably can't remove it...?)

Undoubtedly an artifact from one of the dozen or so installation attempts.
I've been clearing the aborted installation directories and registry
entries between each attempt... but never looked in the services window.

Running "service remove" does *not* remove the entry, so I'm checking in
the registry again. How else to get this phantom Tomcat service out of
there?

Steve




-Jason Bainbridge <[EMAIL PROTECTED]> wrote: -


To: Tomcat Users List 
From: Jason Bainbridge <[EMAIL PROTECTED]>
Date: 2005-03-01 02:46PM
Subject: Re: Installation problems on Windows

On Tue, 1 Mar 2005 11:34:29 -0800, [EMAIL PROTECTED]
wrote:
>
>
> Nope... I've had the God-bit set since day one. :-)

Stupid question time Is there already a service named Tomcat5
already installed?

--

Jason Bainbridge
http://kde.org- [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.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: Installation problems on Windows

2005-03-01 Thread John Najarian
You've probably tried these but have you downloaded tomcat again?  Perhaps in 
the download the Installer got fouled up.  Is tomcat running when you try to 
install?  If so stop it.  I installed tomcat5.28 with XP running sp2

Good luck,

John

-Original Message-
From: [EMAIL PROTECTED]
Sent: Mar 1, 2005 2:32 PM
To: Tomcat Users List 
Subject: Re: Installation problems on Windows



Jason,

Thanks for the detail on the installation. I mentioned in a separate
response within this thread that once JAVA_HOME was corrected (referencing
the parent of the 1.5 JDK and not the public or private JRE) then the
startup.bat method worked fine in the default installation directory the
binary installer started (C:\Program Files\Apache Software
Foundation\Tomcat 5.5...).

So it appears Tomcat will start up with the correct JAVA_HOME (JDK, not
JRE.) However, I still cannot run the Installer successfully, nor will the
service.bat install tomcat as a service. Some lingering Windows execution
and/or security issues is probably the best guess at this point. I know SP2
for Windows XP made extensive changes, along with the stream of security
patches since then.

If anyone uncovers such a security issue or the fix, please post, and I'll
do the same if I discover it.

I'd like to get the service portion ironed out, but in the meantime I can
at least get Tomcat started for some development and evaluation.

Thx,
Steve




-Jason Bainbridge <[EMAIL PROTECTED]> wrote: -


To: Tomcat Users List 
From: Jason Bainbridge <[EMAIL PROTECTED]>
Date: 2005-03-01 02:10PM
Subject: Re: Installation problems on Windows

On Tue, 1 Mar 2005 10:16:14 -0800, [EMAIL PROTECTED]
wrote:
>
>
> Yes, those are the path(s) I've used... including \bin in the path, and
> using the immediate parent directory of the \bin for JAVA_HOME. The
> following JREs and JDKs have been tried. Also, I've tried pointing the
path
> and JAVA_HOME at the JRE, and the JDK for each version.

Okay lets go back to basics.

1. Install JDK 1.5

2. set JAVA_HOME to the base directoty of the above install something
like C:\JDK1.5.0_01

3. You do not need CLASSPATH set nor does java need to be in the PATH,
JAVA_HOME is the only variable that is expressly needed, in a default
setup the setting of CATALINA_HOME can safely be done by Tomcat as it
starts based on the current directory. In fact having these set
especially the CLASSPATH  could cause problems.

4.  Download 5.5.7.zip and from
http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi

5. Extract jakarta-tomcat-5.5.7.zip to C:\

6. Open a new command prompt (must be a new one to ensure the latest
environment variables are used.

7. navigate to C:\jakarta-tomcat-5.5.7\bin then run startup.bat

8. what happens?

Regards,
--

Jason Bainbridge
http://kde.org- [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.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: Installation problems on Windows

2005-03-01 Thread John Najarian
Why are the 'J2RE...' included?  I've never needed these in version 4.1, 5.19 
or 5.28.

-Original Message-
From: [EMAIL PROTECTED]
Sent: Mar 1, 2005 1:16 PM
To: Tomcat Users List 
Subject: Re: Installation problems on Windows



Yes, those are the path(s) I've used... including \bin in the path, and
using the immediate parent directory of the \bin for JAVA_HOME. The
following JREs and JDKs have been tried. Also, I've tried pointing the path
and JAVA_HOME at the JRE, and the JDK for each version.

J2RE1.4.2_06
J2SDK1.4.2_06

J2RE1.4.2_07
J2SDK1.4.2_07

JRE1.5.0_01
JDK1.5.0_01

Sun\AppServer\JDK\JRE (this is J2EE 1.4)


Steve




-John Najarian <[EMAIL PROTECTED]> wrote: -


To: Tomcat Users List 
From: John Najarian <[EMAIL PROTECTED]>
Date: 2005-03-01 12:22PM
Subject: Re: Installation problems on Windows

Just to double check.

Your 'path' env var includes an entry like:
c:\j2sdk1.4.2_07\bin - (some people forget the \bin)
and your java_home env var is like:
c:\j2sdk1.4.2_07


-Original Message-
From: [EMAIL PROTECTED]
Sent: Mar 1, 2005 11:59 AM
To: Tomcat Users List
Subject: Re: Installation problems on Windows



Some more updates...

Tried the .EXE installer with JDK 1.5. Still no go, I get the same
installer hang right after "Using jvm".

Tried the .ZIP installation again, and verified an accurate JAVA_HOME
pointing to the 1.4 JDK in this case. Running "service install" resulted in
a Failed to install service error.

Does anyone know what the .EXE installer is supposed to do after the "Using
jvm" message? I can't tell if this is a Windows XP/SP2 security problem or
some other JDK problem without knowing what the installer is trying to do
when it hangs.

Also, in case I never get to try Tomcat, is there a recommendation for
other J2EE web/ejb app servers I should try?

Thx,
Steve



-Steve Henty/TechFlow wrote: -


To: "Tomcat Users List"
From: Steve Henty/TechFlow
Date: 2005-03-01 09:43AM
Subject: Re: Installation problems on Windows



You're right about jvm.dll... one typo and a bunch of cut-and-paste.

None of the options you mentioned worked. Starting with using the ZIP file
directly, I apparently have some JAVA_HOME or CLASSPATH problems that
prevent the service.bat (is that the one I want to install the Windows XP
service?) from completing. I've never had to pay a lot of attention to
CLASSPATH at the Windows level, since I use WSAD/Eclipse. JAVA_HOME is new
to me, and I was counting on the installer to take care of this mundane
detail.

That said, I *did* set JAVA_HOME to both the public J2RE1.4.2_07, and the
full J2SDK1.4.2_07 on separate installer attempts, along with adding the
respective /bin directories to the Path. No go either.
Installing to a directory without spaces (C:\www\tomcat5.0) didn't help. In
any case, Windows hasn't had a problem with spaces in directory names since
Win2K, so I'd be surprised if that were truly the problem.

There are a zillion programs that use Windows installers successfully, and
if I read the mail archives correctly, Tomcat didn't used to have this
problem in versions prior to 5.0.19.

Does the installation process actually transfer control to the JVM partway
through (which is what "Using jvm jvm.dll" implies)? If so, what would
prevent that transfer of control to the JVM? I've successfully compiled and
run Java applications in WSAD/Eclipse on this machine, so there is nothing
inherent in my Windows setup that is JVM-unfriendly. Perhaps there's a fix
around the corner?

Steve






-Jason Bainbridge wrote: -


To: Tomcat Users List
From: Jason Bainbridge
Date: 2005-02-28 08:37PM
Subject: Re: Installation problems on Windows

On Mon, 28 Feb 2005 17:26:31 -0800, [EMAIL PROTECTED]
wrote:
>
> I hope this message makes it to the list (my Welcome email didn't include
> the examples of the proper email command syntax, only the headings...?)
>
> The Tomcat 5.x binary installer for Windows hangs at the point where it
> says it's using the dvm.dll. This is true under all the following
> circumstances:
> -Windows XP Pro, SP2
> -JRE 1.4.2_06 (picks client/dvm.dll)
> -JDK 1.4.2_07 (picks client/dvm.dll or server/dvm.dll, seemingly at
random)
> -JRE 1.4.2_07 (picks client/dvm.dll)
> -fresh install (with reboot) of each of the JDKs/JREs above
> -Tomcat 5.0.28 (should be okay with 1.4.x, right?)
> -Tomcat 5.5.4
> -Tomcat 5.5.7
> -leave the partially installed Tomcat directories and registry entries
> intact on subsequent attempts
> -remove the Tomcat directories and registry entries prior to subsequent
> attempts
> -allow Tomcat to use default installation directory (C:\Program
> Files\Apache Software Foundation\...)
> -TinyFirewall enabled, and disabled

1. dvm.dll do you mean jvm.dll? Thought it was just a ty

Re: Installation problems on Windows

2005-03-01 Thread John Najarian
Just to double check.

Your 'path' env var includes an entry like: 
 c:\j2sdk1.4.2_07\bin - (some people forget the \bin)
and your java_home env var is like:
 c:\j2sdk1.4.2_07


-Original Message-
From: [EMAIL PROTECTED]
Sent: Mar 1, 2005 11:59 AM
To: Tomcat Users List 
Subject: Re: Installation problems on Windows



Some more updates...

Tried the .EXE installer with JDK 1.5. Still no go, I get the same
installer hang right after "Using jvm".

Tried the .ZIP installation again, and verified an accurate JAVA_HOME
pointing to the 1.4 JDK in this case. Running "service install" resulted in
a Failed to install service error.

Does anyone know what the .EXE installer is supposed to do after the "Using
jvm" message? I can't tell if this is a Windows XP/SP2 security problem or
some other JDK problem without knowing what the installer is trying to do
when it hangs.

Also, in case I never get to try Tomcat, is there a recommendation for
other J2EE web/ejb app servers I should try?

Thx,
Steve



-Steve Henty/TechFlow wrote: -


To: "Tomcat Users List" 
From: Steve Henty/TechFlow
Date: 2005-03-01 09:43AM
Subject: Re: Installation problems on Windows



You're right about jvm.dll... one typo and a bunch of cut-and-paste.

None of the options you mentioned worked. Starting with using the ZIP file
directly, I apparently have some JAVA_HOME or CLASSPATH problems that
prevent the service.bat (is that the one I want to install the Windows XP
service?) from completing. I've never had to pay a lot of attention to
CLASSPATH at the Windows level, since I use WSAD/Eclipse. JAVA_HOME is new
to me, and I was counting on the installer to take care of this mundane
detail.

That said, I *did* set JAVA_HOME to both the public J2RE1.4.2_07, and the
full J2SDK1.4.2_07 on separate installer attempts, along with adding the
respective /bin directories to the Path. No go either.
Installing to a directory without spaces (C:\www\tomcat5.0) didn't help. In
any case, Windows hasn't had a problem with spaces in directory names since
Win2K, so I'd be surprised if that were truly the problem.

There are a zillion programs that use Windows installers successfully, and
if I read the mail archives correctly, Tomcat didn't used to have this
problem in versions prior to 5.0.19.

Does the installation process actually transfer control to the JVM partway
through (which is what "Using jvm jvm.dll" implies)? If so, what would
prevent that transfer of control to the JVM? I've successfully compiled and
run Java applications in WSAD/Eclipse on this machine, so there is nothing
inherent in my Windows setup that is JVM-unfriendly. Perhaps there's a fix
around the corner?

Steve






-Jason Bainbridge <[EMAIL PROTECTED]> wrote: -


To: Tomcat Users List 
From: Jason Bainbridge <[EMAIL PROTECTED]>
Date: 2005-02-28 08:37PM
Subject: Re: Installation problems on Windows

On Mon, 28 Feb 2005 17:26:31 -0800, [EMAIL PROTECTED]
wrote:
>
> I hope this message makes it to the list (my Welcome email didn't include
> the examples of the proper email command syntax, only the headings...?)
>
> The Tomcat 5.x binary installer for Windows hangs at the point where it
> says it's using the dvm.dll. This is true under all the following
> circumstances:
> -Windows XP Pro, SP2
> -JRE 1.4.2_06 (picks client/dvm.dll)
> -JDK 1.4.2_07 (picks client/dvm.dll or server/dvm.dll, seemingly at
random)
> -JRE 1.4.2_07 (picks client/dvm.dll)
> -fresh install (with reboot) of each of the JDKs/JREs above
> -Tomcat 5.0.28 (should be okay with 1.4.x, right?)
> -Tomcat 5.5.4
> -Tomcat 5.5.7
> -leave the partially installed Tomcat directories and registry entries
> intact on subsequent attempts
> -remove the Tomcat directories and registry entries prior to subsequent
> attempts
> -allow Tomcat to use default installation directory (C:\Program
> Files\Apache Software Foundation\...)
> -TinyFirewall enabled, and disabled

1. dvm.dll do you mean jvm.dll? Thought it was just a typo at first
but it's consistent through your email.

2. Try installing to a directory path without spaces, Windows is
really tempermental about such things.

3. Ditch the binary installer and just download the .zip, if need be a
Windows service can be easily installed using the batch file that
comes with the .zip

4. Try explicitly setting your JAVA_HOME environment variable to point
where you want it.

One of those should set you right.

Cheers.
--

Jason Bainbridge
http://kde.org- [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.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

Re: Service automatically shuts down on Windows Server 2003

2005-02-25 Thread John Najarian
Hi,

   I had a similar problem on winblows 2000 server a while ago, I had installed 
tomcat to ...\Tomcat 4.1\ and I had to reinstall it to ...\Tomcat_4.1\ and all 
worked fine.  On winblows, spaces in variables in CLASSPATH, PATH... tend to 
cause problems and the killer is, not on every installation of the same version 
of winblows.  Try reinstalling to a path containing no spaces and reset your 
env vars.  Like the following:
Instead of your path:
  "C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\tomcat.exe
try something like:
  "C:\Program Files\Apache_Software_Foundation\Tomcat 5.0\bin\tomcat.exe

All because winblows sux


-Original Message-
From: Scott Sauyet <[EMAIL PROTECTED]>
Sent: Feb 25, 2005 7:19 AM
To: Tomcat Users List 
Subject: Re: Service automatically shuts down on Windows Server 2003

Jason Bainbridge wrote:
> On Fri, 25 Feb 2005 09:23:29 -0500, Scott Sauyet <[EMAIL PROTECTED]> wrote:
>>We've had Tomcat 5.0.19 working on a number of Windows machines for a
>>while, running on Win2K and WinXP under j2sdk1.4.2_04  Yesterday we had
>>to install it on a Windows Server 2003 machine, and it's not working as
>>a service.  If we run it from the shell, it works fine, but when we try
>>to start it as a service, it starts up and shuts right back down with a
>>Windows message that some services don't stay running if they have no
>>work to do.
> 
> That usually happens when there is something wrong with the directory
> paths, there could be a space somewhere causing problems or something
> similar so have a look at the properties of the service and se eif
> it's pointing to the right spot.

Thanks, but that doesn't seem to be it.   The service is looking at

 "C:\Program Files\Apache Software Foundation\Tomcat 
5.0\bin\tomcat.exe //RS//Tomcat5"

which is correct.  I don't know what the parameter "//RS//Tomcat5" is 
for but it matches what's working on other machines.  Also the JAVA_HOME 
and CATALINA_HOME enviroment variables are correct.  The actual text of 
the error message is

 "The Apache Tomcat service on Local Computer started and then
 stopped.  Some services stop automatically if they have no work
 to do, for example, the Performace Logs and Alerts service."

I'm not finding anything in the Tomcat logs, which makes me suspect that 
Tomcat is not in fact actually starting, but I don't know how to tell 
for sure.

Cheers,

   -- Scott

-
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: unable to install Tomcat on Win2000 using installer (exe)

2005-02-16 Thread John Najarian
Sounds like you have an incorrect setting in the ENV variables maybe, which 
file type are opened by which application perhaps.

I just did this, installed tomcat on W2K server as a service a little while ago 
problem free.

-Original Message-
From: Dennis Pierson <[EMAIL PROTECTED]>
Sent: Feb 16, 2005 3:12 PM
To: tomcat-user@jakarta.apache.org
Subject: unable to install Tomcat on Win2000 using installer (exe)

The Tomcat 5.0 install exe hangs forever on the 'using jvm' step. The 
service is set up in the registry, but doesn't work.  The menus don't 
install either. I can install from .zip, but I need the service. This 
happens with both JSDK 1.4.2 and 1.5.0

-
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: Version control tool

2005-02-07 Thread John Najarian
Thanks Matt, I should have said I don't want to limit this to Java.

-Original Message-
From: "Dale, Matt" <[EMAIL PROTECTED]>
Sent: Feb 7, 2005 10:27 AM
To: Tomcat Users List , 
John Najarian <[EMAIL PROTECTED]>
Subject: RE: Version control tool


Eclipse

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: 07 February 2005 15:25
To: Tomcat Users List
Subject: OT: Version control tool


Does anyone know a good version control tool for code management that is free?

Also, a bug tracking application would be nice also.

These need to be run on Windows.

Thanks

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



OT: Version control tool

2005-02-07 Thread John Najarian
Does anyone know a good version control tool for code management that is free?

Also, a bug tracking application would be nice also.

These need to be run on Windows.

Thanks

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



Re: [OT] Advertising website

2005-01-28 Thread John Najarian
That's been the experience we have at work also.  But keep in mind, I work for 
a small company so we don't have a lot of resources.

-Original Message-
From: epyonne <[EMAIL PROTECTED]>
Sent: Jan 28, 2005 11:33 AM
To: Tomcat Users List 
Subject: Re: [OT] Advertising website

Well, our company has to hire a marketing guru to promote our web site. She
is supposed to be an expert in tweaking Google. That tells you there is no
such thing as "easy and cheap".


- Original Message - 
From: "Peter Crowther" <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Friday, January 28, 2005 10:09 AM
Subject: RE: [OT] Advertising website


> From: t t [mailto:[EMAIL PROTECTED]
> Does anyone know a easy and cheap (even free) way to
> advertise a website?

No effective ones.  To paraphrase: "You can have any two of effective,
easy, and cheap."

Banner exchanges are easy and cheap, but are (usually) not effective.

Search engine listings might be effective, but are neither cheap nor
easy.

Adverts ditto.

Getting arrested for something spectacular and trying to warp the press
coverage to your Web site is all-too-easy, possibly effective, but
unlikely to be cheap.

Etc.

- Peter

-
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: Jboss vs. tomcat with IIS

2005-01-26 Thread John Najarian
No, tomcat is a jsp/servlet container.  JBoss is a full blown application 
server.  Tomcat doesn't support EJBs  JBoss does.  If all you want is 
JSP/Servlets and a webserver, tomcat will work.

-Original Message-
From: Warron French <[EMAIL PROTECTED]>
Sent: Jan 26, 2005 2:36 PM
To: "User Tomcat (E-mail)" 
Subject: Jboss vs. tomcat  with IIS

Can I do everything with JBoss that I can with Tomcat?

I heard from a developer that JBoss is better than tomcat because tomcat can 
not handle as many users at the same time.  Is this a true statement?  Is it 
relevant to what web service (IIS vs Apache) is being used?




Warron French
Sr. Network Engineer
Xtria, LLC
8045 Leesburg Pike #400
Vienna, VA 22182
Desk: 703-821-6110
Main: 703-821-6000
Fax:  703-827-0374


-
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: localhost:8080 only

2005-01-05 Thread John Najarian
Try editing your etc/hosts file.

-Original Message-
From: D Lee [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 05, 2005 3:21 PM
To: tomcat-user@jakarta.apache.org
Subject: localhost:8080 only

Hi all,
 
I am new comer.  I have installed Tomcat 5.0 successfully, it shows me the
welcome page when I set the URL at http://localhost:8080   . Also, it only
show up on the local machine, not on the internet.  However, I would like to
put my computer name instead of localhost:8080 on it, so that I can see it
one the web.  Can you please tell me where to set that.
 
Thanks
 


-
Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.



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



RE: Looking for a few good books

2004-12-30 Thread John Najarian
O'Reilly is the 1 I've used and like.

-Original Message-
From: Charles P. Killmer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 30, 2004 10:02 AM
To: Tomcat Users List
Subject: Looking for a few good books

I am in need of some good books for developing solid JSP code.  There
are a ton of books out there but I am hoping that this group has a few
favorites.
 
What I need is a book that describes how to organize a JSP Tomcat site.
Describes how to compile code into servlets.
As well as include those classes into JSP script.
Ideally these classes should be stored in a location that can be used by
all sites.
 
Any help is greatly appreciated.
 
Thank You
Charles Killmer
 



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



RE: Newbie question on Database and struts

2004-12-23 Thread John Najarian
Hi Manisa,

   I'm not sure what you mean by 'create array of databeans'.  Your result
set contains multiple rows, your bean should be able to return the entire
result set.  Why do you need an array of a bean?

-Original Message-
From: Manisha Sathe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 23, 2004 7:25 PM
To: tomcat-user@jakarta.apache.org
Subject: Newbie question on Database and struts

I am new to struts (even new to java also)
 
I have one form developed in struts. What i want to do is depending on form
values, run sql qry in Action form, get result set and display it on JSP.
 
I have created a databean for the results. But with result set -> How to
create array of databeans ? and how to post it on JSP ?
 
if anybody can pass me the samples pls would be of great help
 
regards
Manisha
 
 
 
 


-
Do you Yahoo!?
 Read only the mail you want - Yahoo! Mail SpamGuard.



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



RE: Tomcat server - Strange problem - stuck like anything

2004-12-21 Thread John Najarian
This sounds like you have a process or user locking things.  I would restart
the entire machine.  Then try everything again.

-Original Message-
From: Manisha Sathe [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 21, 2004 5:56 PM
To: [EMAIL PROTECTED]
Subject: Tomcat server - Strange problem - stuck like anything

On my local m/c I had installed Tomcat and it was running properly. I tested
servlet-examples / jsp-example.
 
Yesterday I tried to create new application inside Tomcat (trying to put the
directory structure - web.xml, also tried to put  inside
server.xml (later removed as seems not required)
 
Yesterday I also installed struts and ant. Created many test applications.
Many times i shut down the tomcat and restarted and every time it was ok,
many my test application ran properly too.
 
Today morning when i started  my computer everything seems to be stopped.
When I tried to start Tomcat server, it gave  lots of error msgs. At the end
said started in 180ms (which is too small compare to normal time). When i
tried http://localhost:8080/ i could not open.
Further more i can not delete any folder inside /webapp/ , can not rename
any folder. 
 
When i tried to see Control Panel->System->Advance->Environment Variables I
am unable to edit PATH / CLASSPATH variables.
 
What i did : in different directory i re-installed Tomcat server, seems to
be working. I tried to delete old TomCat directory - but i am getting
following error 
 
Can not delete bootstrap.jar : Access is denied. The source file may be in
use.
 
I do not know what to do, i need to modify the PATH variable to compile few
java files. Pls pls help me i am really stuck
 
regards
Manisha
 
 
 


-
Do you Yahoo!?
 Yahoo! Mail - now with 250MB free storage. Learn more.



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



RE: Mysql: Cannot create JDBC driver

2004-11-29 Thread John Najarian
This is a reach but in your code how are you getting the driver?

I really don't know much more about this.  I just develop the code and let
the deployment group move things around.  Sorry.

-Original Message-
From: Carlos Bracho [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 29, 2004 7:42 AM
To: John Najarian
Cc: Tomcat Users List
Subject: Re: Mysql: Cannot create JDBC driver

My $CATALINA_HOME is defined as: C:\Program Files\Apache Software
Foundation\Tomcat\


On Mon, 29 Nov 2004 07:08:02 -0800, John Najarian
<[EMAIL PROTECTED]> wrote:
> Hi Carlos,
> 
>   I have my mysql-connector-java-3.0.0.15-ga-bin.jar located in:
> c:\tomcat\common\lib
> 
>   However, I also have it in c:\j2sdk1.4.2_03\lib.  I think I put it there
> as an initial test of MySQL.
> 
>   My $CATALINA_HOME is defined as c:\tomcat, what is your CATALINA_HOME
> defined as?
> 
> 
> 
> 
> -Original Message-
> From: Carlos Bracho [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 27, 2004 4:58 PM
> To: Tomcat Users List
> Subject: Mysql: Cannot create JDBC driver
> 
> Hello everybody.
> 
> I am writting you because I get this exception ramdonly, I mean,
> sometimes happends, sometimes does not.
> 
> javax.servlet.ServletException: Cannot create JDBC driver of class ''
> for connect URL 'null', cause: No suitable driver
>at
>
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
> mpl.java:825)
>at
>
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
> l.java:758)
>at org.apache.jsp.index_jsp._jspService(index_jsp.java:73)
>at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>at
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
> 98)
>at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:237)
>at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:157)
>at
>
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter
> .java:305)
>at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:186)
>at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:157)
>at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:214)
>at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
>at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>at
>
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
> Valve.java:198)
>at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:152)
>at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
>at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
> )
>at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
>at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
> )
>at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:102)
>at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :109)
>at
>
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
> t.java:104)
>at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
>at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:702)
>at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
>

RE: Mysql: Cannot create JDBC driver

2004-11-29 Thread John Najarian
Hi Carlos,

   I have my mysql-connector-java-3.0.0.15-ga-bin.jar located in:
c:\tomcat\common\lib

   However, I also have it in c:\j2sdk1.4.2_03\lib.  I think I put it there
as an initial test of MySQL.

   My $CATALINA_HOME is defined as c:\tomcat, what is your CATALINA_HOME
defined as?


-Original Message-
From: Carlos Bracho [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 27, 2004 4:58 PM
To: Tomcat Users List
Subject: Mysql: Cannot create JDBC driver

Hello everybody.

I am writting you because I get this exception ramdonly, I mean,
sometimes happends, sometimes does not.

javax.servlet.ServletException: Cannot create JDBC driver of class ''
for connect URL 'null', cause: No suitable driver
at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:825)
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:758)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:73)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
98)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter
.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
at java.lang.Thread.run(Thread.java:534)

I am using MySql 4.0.20a and the driver jar file is
mysql-connector-java-3.0.14.jar, here you have my xml files:

Server.xml:
(...)





factory

org.apache.commons.dbcp.BasicDataSourceFactory


maxActive
10


maxIdle
3


maxWait
20


username
tomcat


RE: Mysql: Cannot create JDBC driver

2004-11-27 Thread John Najarian
Carlos, did you check that the MySQL driver is in the path?

-Original Message-
From: Carlos Bracho [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 27, 2004 4:58 PM
To: Tomcat Users List
Subject: Mysql: Cannot create JDBC driver

Hello everybody.

I am writting you because I get this exception ramdonly, I mean,
sometimes happends, sometimes does not.

javax.servlet.ServletException: Cannot create JDBC driver of class ''
for connect URL 'null', cause: No suitable driver
at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:825)
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:758)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:73)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
98)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter
.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
at java.lang.Thread.run(Thread.java:534)

I am using MySql 4.0.20a and the driver jar file is
mysql-connector-java-3.0.14.jar, here you have my xml files:

Server.xml:
(...)





factory

org.apache.commons.dbcp.BasicDataSourceFactory


maxActive
10


maxIdle
3


maxWait
20


username
tomcat


password
xxx


driverClassN

RE: new to Tomcat..

2004-10-07 Thread John Najarian
Have you restarted tomcat?

-Original Message-
From: Vivek Behal [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 06, 2004 11:58 PM
To: Tomcat Users List
Subject: RE: new to Tomcat..

No. but the .html is avaialable there and tomcat is not able to get it.

Regards,
Vivek Behal.
 



-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 07, 2004 12:32 PM
To: 'Tomcat Users List'
Subject: RE: new to Tomcat..


Did you use the admin or manager tool to check if it's available?

-Original Message-
From: Vivek Behal [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 06, 2004 10:39 PM
To: [EMAIL PROTECTED]
Subject: new to Tomcat..

Hi,
 I am new to tomcat. I've installed tomcat 5.0.28 on my machine. I
developed a servlet and put it in the webapps\ROOT\WEB-INF\classes folder.
Then I modified the web.xml file according to that. it is working very fine.
but if I put a .html file, a simple static hello.html in the webapps\ROOT
then I use  the explorer http://localhost:8080/hello.html
<http://localhost:8080/hello.html> 
I get page not found error. Could you suggest me what is the problem?
 
Regards,
Vivek Behal.
 
 


-
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: new to Tomcat..

2004-10-07 Thread John Najarian
Did you use the admin or manager tool to check if it's available?

-Original Message-
From: Vivek Behal [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 06, 2004 10:39 PM
To: [EMAIL PROTECTED]
Subject: new to Tomcat..

Hi,
 I am new to tomcat. I've installed tomcat 5.0.28 on my machine. I
developed a servlet and put it in the webapps\ROOT\WEB-INF\classes folder.
Then I modified the web.xml file according to that. it is working very fine.
but if I put a .html file, a simple static hello.html in the webapps\ROOT
then I use  the explorer http://localhost:8080/hello.html
 
I get page not found error. Could you suggest me what is the problem?
 
Regards,
Vivek Behal.
 
 


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



RE: Problem: Tomcat 5.0.28 + Oracle 10g.

2004-10-03 Thread John Najarian
What OS, Tomcat version?

I run MySql on XP and put the connector jar file in:
CATALINA_HOME\common\lib

I don't use the CATALINA_ROOT environment variable.  I added to the
CLASSPATH variable CATALINA_HOME\common\lib\connector.jar.

All worked fine.

-Original Message-
From: Vikash Kodati [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 03, 2004 12:15 PM
To: Tomcat Users List
Subject: Problem: Tomcat 5.0.28 + Oracle 10g.

Hi All:

I am new to tomcat and having a small problem starting the server. 

I use Oracle 10g and when I add my classes12.zip to the classpath (in
the file %CATALINA_ROOT%/bin/setclasspath.bat), the server does not
start. But if I remove the classes12.zip, the server starts by giving
an appropriate exception (which is understable, as if cud not find the
DB driver.)

I am pasting the output of the case where I added classes12.zip to the
classpath.

[INFO] Http11Protocol - Initializing Coyote HTTP/1.1 on http-8200
[INFO] Catalina - Initialization processed in 1188 ms
[INFO] StandardService - Starting service Catalina
[INFO] StandardEngine - Starting Servlet Engine: Apache Tomcat/5.0.28
[INFO] StandardHost - XML validation disabled

The server hangs here. Can anyone please tell me as to why it is happening.

Thank You,

-Vikash.
-- 
Vikash Kodati
Technical Associate
[EMAIL PROTECTED]
Voice:  91.80.5132 2000 ||  Fax:   91.80.5132 2999
Trilogy E-Business Software India Pvt Ltd. (http://www.trilogy.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 Compiling Error - Form Based Authentication

2004-10-03 Thread John Najarian
Omar, this may be the problem & my hunch is that it is.  You've built & run
code against never version of tomcat, jdk, jre... It could be there is 1 or
more things that work/compile... with these newer versions that aren't
backward compatible.  It maybe the tools.jar files aren't compatible.

If you can get jdk 1.5 and tomcat 5.28 for Linux download, install them and
rebuild your app.

-Original Message-
From: Omar Adobati [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 03, 2004 11:50 AM
To: Tomcat Users List
Subject: Re: Tomcat Compiling Error - Form Based Authentication

On the windows box I'm using:
 - Tomcat 5.0.28
 - JDK & jre: 1.5.0 beta

every help is wellcome!

- Original Message - 
From: "John Najarian" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Sunday, October 03, 2004 8:45 PM
Subject: RE: Tomcat Compiling Error - Form Based Authentication


You're still using the app on a Windows XP machine right?
What version of Tomcat, jdk & jre are on that box?

You may want to upgrade the jre/plugin to 1.4.2_05.  I'm not sure if this
will fix your problem but it won't hurt or take much time.

-Original Message-
From: Omar Adobati [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 03, 2004 11:25 AM
To: Tomcat Users List
Subject: Re: Tomcat Compiling Error - Form Based Authentication

Tomcat: 5.0.18
JDK & jre: 1.4.2
O.S.: Linux

ther's anything wrong?

- Original Message - 
From: "John Najarian" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Sunday, October 03, 2004 8:07 PM
Subject: RE: Tomcat Compiling Error - Form Based Authentication


This may be an 'out there' question for your problem but which versions
Of Tomcat, jdk & jre are you using?  I could be that you've got a mismatch.

-Original Message-
From: Omar Adobati [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 03, 2004 10:24 AM
To: Tomcat Users List
Subject: Re: Tomcat Compiling Error - Form Based Authentication

I don't think it was a permission problem on the webapps application 'couse
all other still work good and have the same permissions settings as this one

that gives troubles.

This is the permission on tools.jar,  I think it's all ok...
-rwxr--r--1 root root  5092901 ott  3 16:47 tools.jar

Tomcat version I'm using is the 5.0.18

Hope this help you to help me in solving this trouble!


- Original Message - 
From: "Dale, Matt" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, October 03, 2004 7:07 PM
Subject: RE: Tomcat Compiling Error - Form Based Authentication



I've run out of ideas but could this be a permissions problem? Either on the

tools.jar or on the work directory for the webapp?

Which version of tomcat are you running?

-Original Message-
From: Omar Adobati [mailto:[EMAIL PROTECTED]
Sent: 03 October 2004 16:35
To: Tomcat Users List
Subject: Tomcat Compiling Error - Form Based Authentication


Sorry Matt,
the log was changeing. Now it show just this instead off the error that cant
compile... why?
I'm still usinf form-based authentication and the webapp in a localmachine
with WinXP + Tomcat worls good but gives this problem on a server with Linux
RH plus Tomcat.

(Tomcat is the same on thae Linux machine and on the Win one)

===

3-ott-2004 17.30.19 org.apache.catalina.authenticator.FormAuthenticator
authenticate
AVVERTENZA: Unexpected error forwarding to login page
org.apache.jasper.JasperException: Unable to load class for JSP
at
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:584)
at
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.jav
a:177)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
96)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:284)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:204)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:742)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
patcher.java:506)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:443)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:359)
at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthent
i

RE: Tomcat Compiling Error - Form Based Authentication

2004-10-03 Thread John Najarian
You're still using the app on a Windows XP machine right?
What version of Tomcat, jdk & jre are on that box?

You may want to upgrade the jre/plugin to 1.4.2_05.  I'm not sure if this
will fix your problem but it won't hurt or take much time.

-Original Message-
From: Omar Adobati [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 03, 2004 11:25 AM
To: Tomcat Users List
Subject: Re: Tomcat Compiling Error - Form Based Authentication

Tomcat: 5.0.18
JDK & jre: 1.4.2
O.S.: Linux

ther's anything wrong?

- Original Message - 
From: "John Najarian" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Sunday, October 03, 2004 8:07 PM
Subject: RE: Tomcat Compiling Error - Form Based Authentication


This may be an 'out there' question for your problem but which versions
Of Tomcat, jdk & jre are you using?  I could be that you've got a mismatch.

-Original Message-
From: Omar Adobati [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 03, 2004 10:24 AM
To: Tomcat Users List
Subject: Re: Tomcat Compiling Error - Form Based Authentication

I don't think it was a permission problem on the webapps application 'couse
all other still work good and have the same permissions settings as this one

that gives troubles.

This is the permission on tools.jar,  I think it's all ok...
-rwxr--r--1 root root  5092901 ott  3 16:47 tools.jar

Tomcat version I'm using is the 5.0.18

Hope this help you to help me in solving this trouble!


- Original Message - 
From: "Dale, Matt" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, October 03, 2004 7:07 PM
Subject: RE: Tomcat Compiling Error - Form Based Authentication



I've run out of ideas but could this be a permissions problem? Either on the

tools.jar or on the work directory for the webapp?

Which version of tomcat are you running?

-Original Message-
From: Omar Adobati [mailto:[EMAIL PROTECTED]
Sent: 03 October 2004 16:35
To: Tomcat Users List
Subject: Tomcat Compiling Error - Form Based Authentication


Sorry Matt,
the log was changeing. Now it show just this instead off the error that cant
compile... why?
I'm still usinf form-based authentication and the webapp in a localmachine
with WinXP + Tomcat worls good but gives this problem on a server with Linux
RH plus Tomcat.

(Tomcat is the same on thae Linux machine and on the Win one)

===

3-ott-2004 17.30.19 org.apache.catalina.authenticator.FormAuthenticator
authenticate
AVVERTENZA: Unexpected error forwarding to login page
org.apache.jasper.JasperException: Unable to load class for JSP
at
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:584)
at
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.jav
a:177)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
96)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:284)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:204)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:742)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
patcher.java:506)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:443)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:359)
at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthent
icator.java:259)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:551)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:149)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:578)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:149)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:149)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardEngineVal

RE: Tomcat Compiling Error - Form Based Authentication

2004-10-03 Thread John Najarian
This may be an 'out there' question for your problem but which versions
Of Tomcat, jdk & jre are you using?  I could be that you've got a mismatch.

-Original Message-
From: Omar Adobati [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 03, 2004 10:24 AM
To: Tomcat Users List
Subject: Re: Tomcat Compiling Error - Form Based Authentication

I don't think it was a permission problem on the webapps application 'couse 
all other still work good and have the same permissions settings as this one

that gives troubles.

This is the permission on tools.jar,  I think it's all ok...
-rwxr--r--1 root root  5092901 ott  3 16:47 tools.jar

Tomcat version I'm using is the 5.0.18

Hope this help you to help me in solving this trouble!


- Original Message - 
From: "Dale, Matt" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, October 03, 2004 7:07 PM
Subject: RE: Tomcat Compiling Error - Form Based Authentication



I've run out of ideas but could this be a permissions problem? Either on the

tools.jar or on the work directory for the webapp?

Which version of tomcat are you running?

-Original Message-
From: Omar Adobati [mailto:[EMAIL PROTECTED]
Sent: 03 October 2004 16:35
To: Tomcat Users List
Subject: Tomcat Compiling Error - Form Based Authentication


Sorry Matt,
the log was changeing. Now it show just this instead off the error that cant
compile... why?
I'm still usinf form-based authentication and the webapp in a localmachine
with WinXP + Tomcat worls good but gives this problem on a server with Linux
RH plus Tomcat.

(Tomcat is the same on thae Linux machine and on the Win one)

===

3-ott-2004 17.30.19 org.apache.catalina.authenticator.FormAuthenticator
authenticate
AVVERTENZA: Unexpected error forwarding to login page
org.apache.jasper.JasperException: Unable to load class for JSP
at
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:584)
at
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.jav
a:177)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
96)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:284)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:204)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:742)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
patcher.java:506)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:443)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:359)
at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthent
icator.java:259)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:551)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:149)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:578)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:149)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:149)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:156)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:700)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
at java.lang.Thread.run(Thread.java:534)


-
To unsubs

RE: Tomcat Question - HELP

2004-10-01 Thread John Najarian
Can all you people take this bitching contest elsewhere?
My 9 year old knows better than to keep this up.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 01, 2004 4:37 PM
To: Tomcat Users List
Subject: RE: Tomcat Question - HELP

Let me summarise this thread:

1. You hate "all those open source stuff"
2. You are "not a big fan of tomcat"
3. You think we are not "educated and professional"
4. You will trust your web engineer over our judgement
5. You "really don't care what your personal views are"
6. You seem to know exactly what this forum is for an how we should run
it and behave on it
6. You won't do what you are asked (i.e. post a simple logfile)
7. You seem to think as a "Unix admin" that killing a process that has
an obvious, documented and non-trivial shutdown sequence is a good idea
(I'm sure DBA's will love you for this)
8. You publicly admitted to mailing Rick Moen directly for help (great
autoreply though ;-) )

What gets me is that everyone who replied to you was civil and helpful.
Really, you guys are the greatest! I'm mostly a lurker and I've totally
lost control (yes I know: "YHBT. YHL. HAND.")

Daniel, I just hope for your sake that no potential future employer ever
finds this thread on Google (or that you are wisely using an alias).

Have a good weekend,

Michiel



-
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: Question from a newbie! Please pardon me!

2004-09-30 Thread John Najarian
Check your environment variables.

CATALINA_HOME   c:\tomcat or wherever you installed tomcat
Seem you have this set properly

CLASSPATH
c:\j2sdk1.4.2_03;c:\tomcat\common\lib\servlet-api.jar;c:\tomcat\common\lib\j
sp-api.jar;c:\tomcat\common\lib\tools.jar;.
There are different ways to do this but it seems like you need to have 
The servlet-api/jar in your CLASSPATH variable.  Mine is in
c:\tomcat\common\lib

JAVA_HOME   c:\j2sdk1.4.2_03 or wherever you installed the jdk

PATHC:\Perl\bin\;C:\j2sdk1.4.2_03\bin\.
Be sure to have the bin directory under your jdk installation included.

-Original Message-
From: Venkat & Radha Venkataramanan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 30, 2004 7:09 AM
To: 'Tomcat Users List'
Subject: Question from a newbie! Please pardon me!

Hello:

 

When I tried to compile my first servlet, using the command line,

 

javac -classpath $CATALINA_HOME/common/lib/servlet-api.jar HelloWorld.java

 

I get the following errors, mainly due to the fact that it's unable to find
the package javax.servlet.

 

HelloWorld.java:6: package javax.servlet does not exist

import javax.servlet.*;

^

HelloWorld.java:7: package javax.servlet.http does not exist

import javax.servlet.http.*;

^

HelloWorld.java:9: cannot resolve symbol

symbol  : class HttpServlet

location: class HelloWorld

public class HelloWorld extends HttpServlet {

^

HelloWorld.java:11: cannot resolve symbol

symbol  : class HttpServletRequest

location: class HelloWorld

public void doGet ( HttpServletRequest request, HttpServletResponse
resp

onse )

^

HelloWorld.java:11: cannot resolve symbol

symbol  : class HttpServletResponse

location: class HelloWorld

public void doGet ( HttpServletRequest request, HttpServletResponse
resp

onse )

^

HelloWorld.java:12: cannot resolve symbol

symbol  : class ServletException

location: class HelloWorld

throws ServletException, IOException{

   ^

6 errors

 

Can somebody guide me on how to resolve this issue?

 

Thanks.

 

Venkat




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



RE: A new problem!

2004-09-30 Thread John Najarian
Could you put an entry in the etc/hosts files.

-Original Message-
From: Bedrijven.nl [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 30, 2004 5:39 AM
To: 'Tomcat Users List'
Subject: RE: A new problem!

use http://:8080

-Oorspronkelijk bericht-
Van: hoseinjany [mailto:[EMAIL PROTECTED]
Verzonden: Wednesday, September 29, 2004 5:16 PM
Aan: [EMAIL PROTECTED]
Onderwerp: A new problem!


Dear all Readers

I have a new problem as follows:

I started Tomcat with JSDK and it is working great on the localhost as:
http://localhost:8080 

But when I want to connect to it from other computers I cannot and receive
this error:



The page cannot be displayed


The page you are looking for is currently unavailable. The Web site might be
experiencing technical difficulties, or you may need to adjust your browser
settings.





I should mention that I am using TCP/IP filtering on this server and I am
sure that the TCP port 8080 is signed as to be allowed coming in. I should
tell that I cannot telnet to the 8080 port of the server.

It might be the port problem as I cannot telnet to that port but there is no
other place to check that port to be open!

Please help.

Thanks,

Ali Hoseinjany



-
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: Cannot start Tomcat

2004-09-29 Thread John Najarian
Why are you setting CATALINA_BASE?  Is this something new in 5.28?  I
thought this wasn't required if you set CATALINA_HOME.  I run 5.27 & I only
set CATALINA_HOME.  Which version of the JRE do you have installed?

-Original Message-
From: Big Chiz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 29, 2004 5:08 PM
To: Tomcat Users List; Anh-Vu NGUYEN NGOC
Subject: Re: Cannot start Tomcat

you may have a corrupted jar file, try from a clean install.


On Thu, 30 Sep 2004 01:26:57 +0200, Anh-Vu NGUYEN NGOC
<[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I installed Tomcat 5.0.28, Jdk 4.2.05. When I run startup, it doesn't
> work. The outputs when running 'catalina run' are as follows
> 
> Using CATALINA_BASE:   C:\jakarta-tomcat-5.0.28
> Using CATALINA_HOME:   C:\jakarta-tomcat-5.0.28
> Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.28\temp
> Using JAVA_HOME:   C:\j2sdk1.4.2_05
> Bootstrap: Class loader creation threw exception
> java.lang.IllegalArgumentException: addRepositoryInternal
> at
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
> StandardClassLoader.java:957)
> at
org.apache.catalina.loader.StandardClassLoader.(StandardClassLo
> ader.java:153)
> at
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
> sLoaderFactory.java:207)
> at
org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.jav
> a:163)
> at
org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java
> :104)
> at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
> Caused by: java.util.zip.ZipException: error in opening zip file
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.(ZipFile.java:112)
> at java.util.jar.JarFile.(JarFile.java:127)
> at java.util.jar.JarFile.(JarFile.java:65)
> at
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
> StandardClassLoader.java:944)
> ... 6 more
> 
> I tried to search a lot on the web, but could not find any solution.
> 
> Thanks a lot for any help
> 
> 
> Anh-Vu
> 
> -
> 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: Norton AntiVirus and False Positives In Tomcat

2004-09-27 Thread John Najarian
I assume you are using the version of Norton that isn't
an 'Enterprise' solution.

Norton will do this to some of the files Tomcat installs
as well as the JavaScript files.

We got around this by having the Anti Virus software run
on a different server routing traffic.  Also, we've found
McAfee is better to run for JSP/Servlet containers & App
Servers than Norton.

Not a bash on Norton, I love it for home use.

-Original Message-
From: QM [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 27, 2004 1:54 PM
To: Tomcat Users List
Subject: Re: Norton AntiVirus and False Positives In Tomcat

On Mon, Sep 27, 2004 at 01:46:47PM -0700, Michael Duffy wrote:
: One of the corp IT server admins just called to tell
: me that the server is "riddled" with viruses,
: according to Norton Antivirus.  One of the bugged
: files is TOMCAT_HOME/webapps/ROOT/index.html, which is
: dated 8-Oct-2002.  There doesn't appear to be anything
: odd in this file when I look at it in either a text or
: hex editor.

Sounds like NAV may have returned some false positives.  The only
"virus-like" content I would expect inside a plain HTML doc would be
rogue JavaScript.

Perhaps you could point your admin to the web resources you found, those
concerning false positives from NAV?

This could become a sticky issue of corporate politics, depending on
your organization's structure.  You may have to get your management to
talk to the admin's management.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.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: [OT}getting started

2004-09-26 Thread John Najarian
Eugene,

   This is off topic.  We ran applications with Access. This is
for some side work we (a couple of friends & I) we experienced
substantial degradation as the Access database grew.

   We ported the database to MySql just this weekend and already
the response has improved measurably.  The front end was changed
from Access to java and that took the most time.  None of us had
any experience with MySql.

  The biggest hurdles we had was finding the right components for
MySql and rewriting the front end in Java.  Another thing was we
could rid ourselves of some program functions that Access required
which are provided by MySql.

   You might consider switching over from Access to MySql.

-Original Message-
From: Eugene [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 26, 2004 11:52 AM
To: Tomcat Users List
Subject: Re: getting started

Hello  QM,  I have my server running Apache+Tomcat+GIS server+Oracle+Access
DBs (they
are  connected  trough  GIS  server for different projects) for almost one
year, I've
explained  my  professional  specification to Atishay Kumar. My objective
its to make
work one or three applications and to make Tomcat to serve jsp pages with
Apache. But
it  was  really hard to make it work together as I say before. I read the
Java docs -
the  thing  that  I'm  not  Java  programmer,  so its more then enough for
me to make
software  work  as  official  documentation  says. If I have problems with
balancers,
filters,  connectors  or  other - I'm writing to support, because they are
designers,
not I am. The point is I'm really TOMCAT USER, not developer, not Java
programmer, so
if its possible to use Tomcat with other servers or for different purposes,
its would
be  great  to have this information in documentation. I want to admit that
Apache and
Tomcat  docs  are  perfect and pretty clear, but for example if I want to
start learn
jsp and install Tomcat on my computer that already have Apache - its
logically that I
want  to  know  how  they should work together, also I want to start from
basics, not
just  from  precompiled  jsps.  You  can  say that Tomcat wasnt designed for
learning
purposes - I agree, but if its possible somehow to give basic knowledge - it
would be
great.  At last - I've started to learn about Tomcat when I was need it for
work, now
I'm  starting  to  learn  Java  and  jsp,  so  not every person here starts
from java
programmer and then continues as Tomcat admin.

Thanks.

Sunday, September 26, 2004, 9:56:07 AM, you wrote:

> [I've changed your subject line to start a new thread]

> On Sun, Sep 26, 2004 at 02:47:19AM -0300, Eugene wrote:
> : Hello,  also it would be great if they can give some information where
> : and how to place jsp pages if somebody want to use Tomcat with Apache.

> Anywhere you want.

> : But  tell the truth I never seen clear instructions how exactly newbie
> : can   deploy   the   page   or  application.  All  books  starts  from
> : "HelloWorld.."  but  there  no  any  word about ROOT, about how to use
> : custom directory under Apache or without it and things like this.

> Likely, there's no one catch-all doc because

>   Apache httpd != Tomcat != Java webapps

> They're all separate topics with their own learning curves.  Trying to
> run them all together at once, when you're just starting out, is asking
> for a headache.

> To start with Java webapps, read the servlet spec (search java.sun.com
> for the doc).  That details what a container (such as Tomcat) must
> provide to be spec-compliant, as well as the basics of assembling a
> webapp.  Yes, it's dry in places, but it's not meant to be movie-script
> material. ;)

> Next, follow some tutorials on Java webapps.  Sun.com has some, there
> are others all over the web.

> Once you get that down pat, return to the Tomcat setup issues.

> Finally, review the Tomcat "connector" documentation (mod_jk, jk2) to
> connect Apache to Tomcat.

> -QM




-- 
Best regards,
 Eugenemailto:[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: Installing the MySql jdbc driver on XP?

2004-09-23 Thread John Najarian
Thanks Mark

-Original Message-
From: Mark Benussi [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 2:45 PM
To: [EMAIL PROTECTED]
Subject: RE: Installing the MySql jdbc driver on XP?

If your using eclipse just place the mysql connector jar in your projects 
jar list... there are many examples of using DriverManager... search the 
web. Sorry I cant be of more help but my code uses connection pooling and 
you need to find and understand the use of DriverManager in its most basic 
form.

Original Message Follows
From: "John Najarian" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Subject: RE: Installing the MySql jdbc driver on XP?
Date: Thu, 23 Sep 2004 14:12:10 -0700

Thanks Filip, I wanted to configure it to use a Driver Manager also.

What I've been having a ton of trouble with is configuring Eclipse.
I've downloaded some plugins but the 2nd one I ried to install should
have been the 3rd.  After knocking that around for a while I found a
site which had the missing 2nd plugin and how to...  But downloading
plugin is taking forever.

-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 1:45 PM
To: Tomcat Users List
Subject: Re: Installing the MySql jdbc driver on XP?

there is nothing to do when installing a JDBC driver, especially if it is a
type 4.
Just copy the JAR file to WEB-INF/lib if you want to use the driver within
your webapps,
or just add the JAR to your CLASSPATH if you want to run it standalone

look for JDBC tutorials

Filip

- Original Message -
From: "John Najarian" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 10:11 AM
Subject: Installing the MySql jdbc driver on XP?


I am trying to install the JDBC driver on an XP box
to use it with a driver manager in Tomcat and to use
it as stand alone for simple tests.

I find the MySql installation documentation fragmented
and difficult to follow.  Any ideas would be appreciated.

Thanks in advance.



-
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: API docs for Mysql JDBC Driver?

2004-09-23 Thread John Najarian
I tired looking this up also.  The best I could come up with is to
compare the java.sql APIs and the mysql limitations.  Here is a URL
for that: http://www.cs.nott.ac.uk/TSG/manuals/databases/mysql/jdbc/mm.doc/

-Original Message-
From: Chuck Carson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 7:49 AM
To: LIST: Tomcat User
Subject: API docs for Mysql JDBC Driver?


Does anyone know where I can find a complete set of API docs for the
JConnect Driver 3.x? The docs
on the site are lacking and only have simple examples on how to do SELECT's.
I am looking for a
complete method list or something more detailed.

Thanks for any info,
rhugga

-
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: Installing the MySql jdbc driver on XP?

2004-09-23 Thread John Najarian
Thanks Filip, I wanted to configure it to use a Driver Manager also.

What I've been having a ton of trouble with is configuring Eclipse.
I've downloaded some plugins but the 2nd one I ried to install should
have been the 3rd.  After knocking that around for a while I found a
site which had the missing 2nd plugin and how to...  But downloading
plugin is taking forever.

-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 1:45 PM
To: Tomcat Users List
Subject: Re: Installing the MySql jdbc driver on XP?

there is nothing to do when installing a JDBC driver, especially if it is a
type 4.
Just copy the JAR file to WEB-INF/lib if you want to use the driver within
your webapps,
or just add the JAR to your CLASSPATH if you want to run it standalone

look for JDBC tutorials

Filip

- Original Message - 
From: "John Najarian" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 10:11 AM
Subject: Installing the MySql jdbc driver on XP?


I am trying to install the JDBC driver on an XP box
to use it with a driver manager in Tomcat and to use
it as stand alone for simple tests.

I find the MySql installation documentation fragmented
and difficult to follow.  Any ideas would be appreciated.

Thanks in advance.



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



Installing the MySql jdbc driver on XP?

2004-09-23 Thread John Najarian
I am trying to install the JDBC driver on an XP box
to use it with a driver manager in Tomcat and to use
it as stand alone for simple tests.

I find the MySql installation documentation fragmented
and difficult to follow.  Any ideas would be appreciated.

Thanks in advance.



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



RE: API docs for Mysql JDBC Driver?

2004-09-23 Thread John Najarian
Hi Chuck,

   Here is another link you might find useful.
http://www.cs.nott.ac.uk/TSG/manuals/databases/mysql/jdbc/apidoc/

-Original Message-
From: Chuck Carson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 7:49 AM
To: LIST: Tomcat User
Subject: API docs for Mysql JDBC Driver?


Does anyone know where I can find a complete set of API docs for the
JConnect Driver 3.x? The docs
on the site are lacking and only have simple examples on how to do SELECT's.
I am looking for a
complete method list or something more detailed.

Thanks for any info,
rhugga

-
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: Unable to start tomcat server

2004-09-21 Thread John Najarian
Great point Cary, I overlooked & forgot that.
Because we run separate servers for all our different apps we don't use that
functionality.

-Original Message-
From: Cary Conover [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 21, 2004 6:45 PM
To: Tomcat Users List
Subject: Re: Unable to start tomcat server

Brian,
 
One point to ponder is you were also using both %CATALINA_HOME% and
%CATALINA_BASE%.
 
%CATALINA_HOME% is for where the main Jakarta Tomcat bin, conf, common and
server directories reside.  These are Shared Directories between the Base
Directories for other instances of Tomcat that run from the Home Directory
Structure.  This structure allows you to have multiple Base Directories.
 
%CATALINA_BASE% is where the respective configuration, delivered apps, logs
and work directories are located.  Such conf, logs, webapps, and work.  This
is what is unique to each of the particular Base Directories.  There are a
couple additional with directories in the 4.1.30 release and quite possibly
more differences in the 5.0/5.5 Releases.
 
You will see a server.xml and web.xml and a couple other files in the
respective base directory structure under conf.  You will also see another
web.xml located at %CATALINA_BASE%\webapps\ROOT\WEB-INF as well.
 
Your particular apps likely will reside in the %CATALINA_BASE%\webapps
directory.
 
All of the log files for tomcat in each base configuration usually reside in
the respective %CATALINA_BASE%\logs.
 
The reason for defining %CATALINA_BASE% is so that you can have more than
one instance of Tomcat running from %CATALINA_HOME% at the same time sharing
the Jakarta Tomcat Code.
 
Beware when doing this that the ports defined in the server.xml in the conf
directories so that they do not overlap.  If they overlap Tomcat will not
start.  You will get errors in the logs and it will just shut right back
down.
 
There is a way to have Tomcat also setup as a service using a dll so that it
will automatically start and can be interfaced via ISAPI configuration to
IIS as well.

Brian Roberts <[EMAIL PROTECTED]> wrote:
Hi everyone

I too was having trouble starting the server and thanks everyone for your 
help but what I found was that with the latest tomcat server you need to 
have the latest java JRE version 5. Try installing the latest from 
http://java.sun.com/j2se version 5 or later and set an environment variable 
named JAVA_HOME to the pathname of the directory into which you installed 
the JRE. Full instructions are with the tomcat server package on RUNNING.txt

Bye for now and thanks everyone for your help

Brian Roberts

At 06:01 AM 21/09/2004 -0700, you wrote:
>It was a typo and CATALINA_HOME is actually set to C:\Tomcat.
>I actually installed tomcat onto folder named
>C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have all bin, 
>common and other folders.
>But while i am setting class path it is taking lot of place so i moved all 
>the folders from above folder structure and into C:\Tomcat and i think 
>that should be OK.
>For more information i am using windows XP professional OS.
>Thanks a lot for reply but i am still unable to start the server.Any help 
>is highly appreciated.
>
>
>>From: [EMAIL PROTECTED]
>>Reply-To: "Tomcat Users List" 
>>To: "Tomcat Users List" 
>>Subject: Re: Suggestion: A dedicated TOMCAT forum!
>>Date: Tue, 21 Sep 2004 11:54:24 +0800 (WST)
>>
>>Hi Suresh,
>>
>>Just by looking at your startup output it seems to be that you have set
>>your environment variable CATALINA_HOME to C:\Tomca and NOT C:\Tomcat as
>>it should be. Also ensure that your SDK installation exists in C:\Java as
>>this is what your JAVA_HOME environment variable is set to. Try doing this
>>and re-run your server and in theory you shouldn't have any problems.
>>
>>Kindest Regards,
>>Matt Anderson
>>
>> > Hi
>> > I have downloaded and installed Tomcat 5.0.27 version onto C:\Tomcat
and
>> > set
>> > the ENV variable
>> > CATALINA_HOME and JAVA_HOME and also included all the jars available in
>> > C:\Tomcat\Common\lib folder in the classpath. But when i go to command
>> > prompt C:\Tomcat\bin and execute startup.bat a black window comes up
and
>> > disappears but my server never starts.On the command window where i
>> > executed
>> > startup there appears 4 lines as follows
>> > Using CATALINA_BASE: C:\Tomca
>> > Using CATALINA_HOME: C:\Tomca
>> > Using CATALINA_TMPDIR: C:\Tomca
>> > Using JAVA_HOME: C:\Java
>> > but am not able to start the server
>> > Can anyone please help me on this.
>> >
>> >
>> > Thanks
>> > Suresh Akula
>> >
>> >>From: nyhgan 
>> >>Reply-To: "Tomcat Users List" 
>> >>To: Tomcat Users List , Peng Tuck Kwok
>> >>

>> >>Subject: Re: Suggestion: A dedicated TOMCAT forum!
>> >>Date: Mon, 20 Sep 2004 20:10:56 -0700 (PDT)
>> >>
>> >>Hi,
>> >>
>> >>I didn't know that there is already a TOMCAT forum. It is sad to see
>> >> that
>> >>the activity is so low there. Maybe that is because no one knows about
>> >> its
>> >>existence. I hope the tomcat

RE: Unable to start tomcat server

2004-09-21 Thread John Najarian
Sorry Suresh, I forgot to put this in the last reply.

   Does the user you are trying to start Tomcat have admin privs?  You might
be trying to access something the account isn't permissioned for.  Real
basic, no wonder I didn't think of it before.  Try doing this as the
administrator.

   If this doesn't resolve your problem, as administrator I suggest the
following if after you change your environment variables and it still
doesn't work.  This may seem redundant but I've gotten downloads messed up
before.

1) Remove the current C:\Tomcat directory.
2) Download a Tomcat binary.
3) Reinstall Tomcat.
4) From the add/remove programs remove the j2sdk.
5) Download another j2sdk and install it.
6) Try starting Tomcat.

-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 21, 2004 3:16 PM
To: Tomcat Users List
Subject: Re: Unable to start tomcat server

Suresh Akula wrote:

> I am trying to run my tomcat server but am not able to do. I am 
> struggling on this for past 2 days.

Earlier you said:

> I actually installed tomcat onto folder named
> C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have 
 > all bin, common and other folders.
> But while i am setting class path it is taking lot of place so i 
 > moved all the folders from above folder structure and into
 > C:\Tomcat and i think that should be OK.

.."think that should be OK"? I think that's probably the root of
your problem. Suggestion: delete all the Tomcat stuff you can find
and reinstall from scratch, preferably from a tar file, but at the
least install directly into C:\tomcat. Don't move *anything*. *Do*
remove all the classpath settings you made. You don't need them if
CATALINA_HOME and JAVA_HOME are set correctly.

Then try -- again -- running *catalina.bat run* from a cmd window
and see what happens.

-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

   dream.  code.



-
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: Unable to start tomcat server

2004-09-21 Thread John Najarian
Hi Suresh,

   I installed Tomcat in C:\Tomcat
   My Catalina_home environment variable is: c:\tomcat

   Java is installed at C:\j2sdk1.4.2_03
   My Catalina_home environment variable is: C:\j2sdk1.4.2_03

   This more or less corresponds to yours.  Let's check a few other
environment variables.

   The 'Path' variable should include C:\j2sdk1.4.2_03\bin
   My CLASSPATH includes the following: (although I'm not sure if both are
required but it won't hurt)

   c:\j2sdk1.4.2_03;
   c:\Tomcat\common\lib\servlet-api.jar;
   c:\Tomcat\common\lib\jsp-api.jar;
   c:\Tomcat\common\lib\tools.jar;

-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 21, 2004 3:16 PM
To: Tomcat Users List
Subject: Re: Unable to start tomcat server

Suresh Akula wrote:

> I am trying to run my tomcat server but am not able to do. I am 
> struggling on this for past 2 days.

Earlier you said:

> I actually installed tomcat onto folder named
> C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have 
 > all bin, common and other folders.
> But while i am setting class path it is taking lot of place so i 
 > moved all the folders from above folder structure and into
 > C:\Tomcat and i think that should be OK.

.."think that should be OK"? I think that's probably the root of
your problem. Suggestion: delete all the Tomcat stuff you can find
and reinstall from scratch, preferably from a tar file, but at the
least install directly into C:\tomcat. Don't move *anything*. *Do*
remove all the classpath settings you made. You don't need them if
CATALINA_HOME and JAVA_HOME are set correctly.

Then try -- again -- running *catalina.bat run* from a cmd window
and see what happens.

-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

   dream.  code.



-
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: Suggestion: A dedicated TOMCAT forum!

2004-09-21 Thread John Najarian
Hi Suresh,

   The other person who responded to this thread had pointed out your
environment variables may not be set properly.  Have you tried looking into
this?

   Also, if there is no 'logs' directory under the main installation
directory for Tomcat I'd suggest reinstalling Tomcat.  I run Tomcat 5.0.27
on Windows XP like you and there is definitely this logs forlder and files
in it.  It was also like this in version 5.0.19.  Perhaps you've had a bad
installation.  It isn't hard or time consuming so I'd try to reinstall.

-Original Message-
From: Suresh Akula [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 21, 2004 6:08 AM
To: [EMAIL PROTECTED]
Subject: RE: Suggestion: A dedicated TOMCAT forum!

I am using Windows XP professional OS but there is no folder like logs in 
entire Tomcat folder structure. Please help in resolving the issue. Is there

something wrong class while setting classpatch. In my classpath i inculded 
all the jars which are under C:\Tomcat\common\lib folder.

Thanks a lot



>From: "John Najarian" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
>Subject: RE: Suggestion: A dedicated TOMCAT forum!
>Date: Mon, 20 Sep 2004 20:52:13 -0700
>
>What OS are you running?  Windows?
>
>Have you checked the logs?  They're under:
>C:\{tomcat installation}\logs
>
>-Original Message-
>From: Suresh Akula [mailto:[EMAIL PROTECTED]
>Sent: Monday, September 20, 2004 8:30 PM
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject: Re: Suggestion: A dedicated TOMCAT forum!
>
>Hi
>I have downloaded and installed Tomcat 5.0.27 version onto C:\Tomcat and 
>set
>
>the ENV variable
>CATALINA_HOME and JAVA_HOME and also included all the jars available in
>C:\Tomcat\Common\lib folder in the classpath. But when i go to command
>prompt C:\Tomcat\bin and execute startup.bat a black window comes up and
>disappears but my server never starts.On the command window where i 
>executed
>
>startup there appears 4 lines as follows
>Using CATALINA_BASE:   C:\Tomca
>Using CATALINA_HOME:   C:\Tomca
>Using CATALINA_TMPDIR: C:\Tomca
>Using JAVA_HOME:   C:\Java
>but am not able to start the server
>Can anyone please help me on this.
>
>
>Thanks
>Suresh Akula
>
> >From: nyhgan <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: Tomcat Users List <[EMAIL PROTECTED]>,  Peng Tuck Kwok
> ><[EMAIL PROTECTED]>
> >Subject: Re: Suggestion: A dedicated TOMCAT forum!
> >Date: Mon, 20 Sep 2004 20:10:56 -0700 (PDT)
> >
> >Hi,
> >
> >I didn't know that there is already a TOMCAT forum.  It is sad to see 
>that
> >the activity is so low there. Maybe that is because no one knows about 
>its
> >existence. I hope the tomcat team can publish the forum url in the 
>release
> >note and also on the tomcat website.
> >
> >thanks!
> >
> >nyhgan
> >
> >
> >
> >
> >Peng Tuck Kwok <[EMAIL PROTECTED]> wrote:
> >You mean like the one here : http://nagoya.apache.org/jive/index.jsp ?
> >Activity seems low if you ask me. Don't know what the plans are for the
> >forum.
> >
> >
> >On Mon, 20 Sep 2004 16:14:23 -0500, QM wrote:
> > > On Mon, Sep 20, 2004 at 02:00:37PM -0700, nyhgan wrote:
> > > : I believe that having an open discussion forum is the first step
> >toward such a goal as it will attract a vast number of new users to the
> >tomcat world.
> > >
> > > [EMAIL PROTECTED]
> > >
> > > ??
> > >
> > > -QM
> > >
> > > --
> > >
> > > software -- http://www.brandxdev.net
> > > tech news -- http://www.RoarNetworX.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]
> >
> >
> >
> >__
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam protection around
> >http://mail.yahoo.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: Suggestion: A dedicated TOMCAT forum!

2004-09-20 Thread John Najarian
What OS are you running?  Windows?

Have you checked the logs?  They're under:
C:\{tomcat installation}\logs

-Original Message-
From: Suresh Akula [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 20, 2004 8:30 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Suggestion: A dedicated TOMCAT forum!

Hi
I have downloaded and installed Tomcat 5.0.27 version onto C:\Tomcat and set

the ENV variable
CATALINA_HOME and JAVA_HOME and also included all the jars available in 
C:\Tomcat\Common\lib folder in the classpath. But when i go to command 
prompt C:\Tomcat\bin and execute startup.bat a black window comes up and 
disappears but my server never starts.On the command window where i executed

startup there appears 4 lines as follows
Using CATALINA_BASE:   C:\Tomca
Using CATALINA_HOME:   C:\Tomca
Using CATALINA_TMPDIR: C:\Tomca
Using JAVA_HOME:   C:\Java
but am not able to start the server
Can anyone please help me on this.


Thanks
Suresh Akula

>From: nyhgan <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: Tomcat Users List <[EMAIL PROTECTED]>,  Peng Tuck Kwok 
><[EMAIL PROTECTED]>
>Subject: Re: Suggestion: A dedicated TOMCAT forum!
>Date: Mon, 20 Sep 2004 20:10:56 -0700 (PDT)
>
>Hi,
>
>I didn't know that there is already a TOMCAT forum.  It is sad to see that 
>the activity is so low there. Maybe that is because no one knows about its 
>existence. I hope the tomcat team can publish the forum url in the release 
>note and also on the tomcat website.
>
>thanks!
>
>nyhgan
>
>
>
>
>Peng Tuck Kwok <[EMAIL PROTECTED]> wrote:
>You mean like the one here : http://nagoya.apache.org/jive/index.jsp ?
>Activity seems low if you ask me. Don't know what the plans are for the 
>forum.
>
>
>On Mon, 20 Sep 2004 16:14:23 -0500, QM wrote:
> > On Mon, Sep 20, 2004 at 02:00:37PM -0700, nyhgan wrote:
> > : I believe that having an open discussion forum is the first step 
>toward such a goal as it will attract a vast number of new users to the 
>tomcat world.
> >
> > [EMAIL PROTECTED]
> >
> > ??
> >
> > -QM
> >
> > --
> >
> > software -- http://www.brandxdev.net
> > tech news -- http://www.RoarNetworX.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]
>
>
>
>__
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around
>http://mail.yahoo.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 vs BEA Weblogic?

2004-09-20 Thread John Najarian
You're right & thanks.

Since it comes from apache I would bet the documentation is probably better
than JBoss'.  I never liked the documentation from JBoss.  They still don't
allow users to download version 4 documentation and that's been out for
close to a year.

-Original Message-
From: Dennis Dai [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 20, 2004 5:47 PM
To: Tomcat Users List
Subject: Re: Tomcat vs BEA Weblogic?

That's Geronimo - another Apache project.

On 9/20/2004 5:03 PM, John Najarian wrote:
> JBoss is having trouble becuase there is another freeware/shareware
> application server from part or all of the original developer group
> that developed JBoss.  I wish I could recll the name I want to say
> genuity but I'm not sure.
> 
> As far as JBoss going away I don't know
> 
> 
> -Original Message-
> From: Mike Curwen [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 20, 2004 4:00 PM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat vs BEA Weblogic?
> 
> Mwah-h!
> 
> I would **love** to know your source on that.  Hani S. doesn't count 
> 
>> 
>> As far as JBoss goes, I heard a nasty rumor that JBoss might 
>> not be around much longer.
>> 
>> -rhugga
>> 

-- 
Dennis Dai
[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 vs BEA Weblogic?

2004-09-20 Thread John Najarian
JBoss is having trouble becuase there is another freeware/shareware
application server from part or all of the original developer group
that developed JBoss.  I wish I could recll the name I want to say
genuity but I'm not sure.

As far as JBoss going away I don't know


-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 20, 2004 4:00 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat vs BEA Weblogic?

Mwah-h!

I would **love** to know your source on that.  Hani S. doesn't count 

> 
> As far as JBoss goes, I heard a nasty rumor that JBoss might 
> not be around much longer.
> 
> -rhugga
> 
> -
> 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 vs BEA Weblogic?

2004-09-19 Thread John Najarian
Not so when going to a full blown application server vs
a JSP/Servlet container.  I've worked with iPlanet, Sun's
application Server(built on iPlanet) & JBoss.  JBoss is
a PIA when compared.  Poor documentations & few resources.

-Original Message-
From: Big Chiz [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 19, 2004 5:42 PM
To: Tomcat Users List
Subject: Re: Tomcat vs BEA Weblogic?

as long as you know what you are doing and understand every aspect of
the software you will be using, you wont need any support from any
vendor.  at least thats what i understand from using tomcat vs bea.


On Sun, 19 Sep 2004 19:09:46 -0500, epyonne <[EMAIL PROTECTED]> wrote:
> JBOSS is as good as any EJB container out there on the market, if not
> better. The only different is support. You have to pay BEA a small fortune
> for support and they will help you every step of the way. On the other
hand,
> if you use JBOSS, you are pretty much on your own. Although you can hire
the
> JBOSS consulting team to assist you, but you have to have a team of
> developers/admin in-house who are very knowledgeable and know what they
are
> doing.
> 
> Hope this helps.
> 
> 
> 
> 
> -Original Message-
> From: Bjørn T Johansen [mailto:[EMAIL PROTECTED]
> Sent: Sunday, September 19, 2004 6:32 PM
> To: Tomcat Users List
> Subject: Tomcat vs BEA Weblogic?
> 
> I am taking over a project that's running on Weblogic 8.1 SP3 today.. They
> are only using
> the jsp-container and it is time to renew the support agreement with BEA.
> So I was just wondering, is it worth it? Or is Tomcat as good as WL or
maybe
> better? Does
> WL have features that is missing in Tomcat? When the time comes to use
EJB,
> is JBoss as
> good as/better than WL?
> 
> So basically, I would like some advice on why I should/shouldn't continue
> with Weblogic? :)
> 
> Regards,
> 
> BTJ
> --
>

> ---
> Bjørn T Johansen
> [EMAIL PROTECTED]
> 
>

> ---
> Someone wrote:
> "I understand that if you play a Windows CD backwards you hear strange
> Satanic messages"
> To which someone replied:
> "It's even worse than that; play it forwards and it installs Windows"
>

> ---
> 
> -
> 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 vs BEA Weblogic?

2004-09-19 Thread John Najarian
I have to agree with epyonne.  JBoss has lousy documentation
& doesn't have good support.  Tomcat is a very fine JSP/Servlet
container.  There isn't anything it can't do.

-Original Message-
From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 19, 2004 4:32 PM
To: Tomcat Users List
Subject: Tomcat vs BEA Weblogic?

I am taking over a project that's running on Weblogic 8.1 SP3 today.. They
are only using 
the jsp-container and it is time to renew the support agreement with BEA.
So I was just wondering, is it worth it? Or is Tomcat as good as WL or maybe
better? Does 
WL have features that is missing in Tomcat? When the time comes to use EJB,
is JBoss as 
good as/better than WL?

So basically, I would like some advice on why I should/shouldn't continue
with Weblogic? :)



Regards,

BTJ
-- 

---
Bjørn T Johansen
[EMAIL PROTECTED]


---
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange
Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

---

-
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: A little offbeat question

2004-09-16 Thread John Najarian
Thanks, the '-cp .' did it.  Something is definitely hosed up.
I haven't installed anything so I'm thinking it may be a virus
although I have scanned my PC with newest definitions.

I'm still going to look at the CLASSPATH env var.  Maybe I should
add '.' to the CLASSPATH variable.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 16, 2004 12:40 AM
To: Tomcat Users List
Subject: Re: RE: A little offbeat question


But the exception says "NoClassDefFoundError: HelloWorld/class". So
where does the /class come from?? In any case don't bother with
classpath environment, but (with the class in your current directory)
simply run 'java -cp . HelloWorld'. Would really surprise me if it
didn't work.

John Najarian <[EMAIL PROTECTED]> schrieb am 16.09.2004,
09:32:18:
> That's what I did.  When I was first learning Java that 1 bit me.
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 16, 2004 12:24 AM
> To: Tomcat Users List
> Subject: Re: A little offbeat question
> 
> 
> Try running 'java ... HelloWorld' instead of 'java ... HelloWorld.class'
> :-)
> 
> Regards,
> Martin
> 
> John Najarian  schrieb am 16.09.2004,
> 09:00:52:
> > I tried to run a program I thought would but it doesn't.
> > 
> > This is on a windows XP platform.
> > 
> > Everything compiled well but I get this error:
> > 
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> HelloWorld/class
> > 
> >  
> > 
> > So I went back and tried a no brainer 'HelloWorld'  This is the code.
> > 
> > /**
> > 
> >  * The HelloWorld class implements an application that
> > 
> >  * displays "Hello World!" to the standard output.
> > 
> >  */
> > 
> > public class HelloWorld {
> > 
> > public static void main(String[] args) {
> > 
> > // Display "Hello World!"
> > 
> > System.out.println("Hello World!");
> > 
> > }
> > 
> > }
> > 
> >  
> > 
> > It compiles but I get the same error.
> > 
> > I check my environment variables and mine are
> > 
> > JAVA_HOME c:\j2sdk1.4.2_03
> > 
> > PATH
> >
>
C:\Perl\bin\;C:\j2sdk1.4.2_03\bin\;C:\j2sdkee1.3.1\bin\;%SystemRoot%\system3
> > 2;%SystemRoot%;%SystemRoot%\system32\WBEM
> > 
> >  
> > 
> > Any ideas?
> > 
> >  
> > 
> > Thanks in advance
> -- 
> Martin Schaefer
> NAXOS Software Solutions GmbH i.G.
> Herrenstr. 1
> 69502 Hemsbach
> Germany
>  
> Phone:+49 (0) 6201 49298-2
> Mobile: +49 (0) 172 6269246
> Fax: +49 (0) 6201 49298-1
> 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]
-- 
Martin Schaefer
NAXOS Software Solutions GmbH i.G.
Herrenstr. 1
69502 Hemsbach
Germany
 
Phone:+49 (0) 6201 49298-2
Mobile: +49 (0) 172 6269246
Fax: +49 (0) 6201 49298-1
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: A little offbeat question

2004-09-16 Thread John Najarian
That's what I did.  When I was first learning Java that 1 bit me.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 16, 2004 12:24 AM
To: Tomcat Users List
Subject: Re: A little offbeat question


Try running 'java ... HelloWorld' instead of 'java ... HelloWorld.class'
:-)

Regards,
Martin

John Najarian <[EMAIL PROTECTED]> schrieb am 16.09.2004,
09:00:52:
> I tried to run a program I thought would but it doesn't.
> 
> This is on a windows XP platform.
> 
> Everything compiled well but I get this error:
> 
> Exception in thread "main" java.lang.NoClassDefFoundError:
HelloWorld/class
> 
>  
> 
> So I went back and tried a no brainer 'HelloWorld'  This is the code.
> 
> /**
> 
>  * The HelloWorld class implements an application that
> 
>  * displays "Hello World!" to the standard output.
> 
>  */
> 
> public class HelloWorld {
> 
> public static void main(String[] args) {
> 
> // Display "Hello World!"
> 
> System.out.println("Hello World!");
> 
> }
> 
> }
> 
>  
> 
> It compiles but I get the same error.
> 
> I check my environment variables and mine are
> 
> JAVA_HOME c:\j2sdk1.4.2_03
> 
> PATH
>
C:\Perl\bin\;C:\j2sdk1.4.2_03\bin\;C:\j2sdkee1.3.1\bin\;%SystemRoot%\system3
> 2;%SystemRoot%;%SystemRoot%\system32\WBEM
> 
>  
> 
> Any ideas?
> 
>  
> 
> Thanks in advance
-- 
Martin Schaefer
NAXOS Software Solutions GmbH i.G.
Herrenstr. 1
69502 Hemsbach
Germany
 
Phone:+49 (0) 6201 49298-2
Mobile: +49 (0) 172 6269246
Fax: +49 (0) 6201 49298-1
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: A little offbeat question

2004-09-16 Thread John Najarian
You shouldn't have to add that to the classpath if you run it
>From the directory it's in but I'll try it.

-Original Message-
From: Meena Alagappan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 16, 2004 12:25 AM
To: Tomcat Users List
Subject: Re: A little offbeat question

Ok if it is standalone.
then 
set your classpath to -
where your HelloWorld.class resides.
And then try it out.



Best Regards,
Meena.
~

--
Life is a festival ...
Celebrate it ...
--



  - Original Message ----- 
  From: John Najarian 
  To: 'Tomcat Users List' 
  Sent: Thursday, September 16, 2004 12:46 PM
  Subject: RE: A little offbeat question


  I'll check that but I'm sure it is in there.
  Just earlier today it was working

  -Original Message-
  From: Aris Javier [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, September 16, 2004 12:18 AM
  To: Tomcat Users List
  Subject: RE: A little offbeat question

  Define your classpath... 
  Your classpath should include  c:\j2sdk1.4.2_03

  -----Original Message-
  From: John Najarian [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, September 16, 2004 3:03 PM
  To: 'Tomcat Users List'
  Subject: RE: A little offbeat question

  One more thing, tomcat was running fine.

  -Original Message-
  From: John Najarian [mailto:[EMAIL PROTECTED]
  Sent: Thursday, September 16, 2004 12:01 AM
  To: [EMAIL PROTECTED]
  Subject: A little offbeat question

  I tried to run a program I thought would but it doesn't.

  This is on a windows XP platform.

  Everything compiled well but I get this error:

  Exception in thread "main" java.lang.NoClassDefFoundError:
  HelloWorld/class

   

  So I went back and tried a no brainer 'HelloWorld'  This is the code.

  /**

   * The HelloWorld class implements an application that

   * displays "Hello World!" to the standard output.

   */

  public class HelloWorld {

  public static void main(String[] args) {

  // Display "Hello World!"

  System.out.println("Hello World!");

  }

  }

   

  It compiles but I get the same error.

  I check my environment variables and mine are

  JAVA_HOME c:\j2sdk1.4.2_03

  PATH
  C:\Perl\bin\;C:\j2sdk1.4.2_03\bin\;C:\j2sdkee1.3.1\bin\;%SystemRoot%\sys
  tem3
  2;%SystemRoot%;%SystemRoot%\system32\WBEM

   

  Any ideas?

   

  Thanks in advance




  -
  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: A little offbeat question

2004-09-16 Thread John Najarian
That is the jdk from sun.  Go to
http://java.sun.com/j2se/1.4.2/download.html

Java 2 Platform, Standard Edition, v 1.4.2 (J2SE)

-Original Message-
From: Bedrijven.nl [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 16, 2004 12:18 AM
To: 'Tomcat Users List'
Subject: RE: A little offbeat question

JAVA_HOME c:\j2sdk1.4.2_03..don'nt you need a jdk? Seems it's a classpath
problem

-Oorspronkelijk bericht-
Van: Meena Alagappan [mailto:[EMAIL PROTECTED]
Verzonden: Thursday, September 16, 2004 8:13 AM
Aan: Tomcat Users List
Onderwerp: Re: A little offbeat question



Frist tell me what you are trying do this code with tomcat ?





Best Regards,
Meena.
~

--
Life is a festival ...
Celebrate it ...
--



  - Original Message -
  From: John Najarian
  To: 'Tomcat Users List'
  Sent: Thursday, September 16, 2004 12:33 PM
  Subject: RE: A little offbeat question


  One more thing, tomcat was running fine.

  -Original Message-
  From: John Najarian [mailto:[EMAIL PROTECTED]
  Sent: Thursday, September 16, 2004 12:01 AM
  To: [EMAIL PROTECTED]
  Subject: A little offbeat question

  I tried to run a program I thought would but it doesn't.

  This is on a windows XP platform.

  Everything compiled well but I get this error:

  Exception in thread "main" java.lang.NoClassDefFoundError:
HelloWorld/class



  So I went back and tried a no brainer 'HelloWorld'  This is the code.

  /**

   * The HelloWorld class implements an application that

   * displays "Hello World!" to the standard output.

   */

  public class HelloWorld {

  public static void main(String[] args) {

  // Display "Hello World!"

  System.out.println("Hello World!");

  }

  }



  It compiles but I get the same error.

  I check my environment variables and mine are

  JAVA_HOME c:\j2sdk1.4.2_03

  PATH
  C:\Perl\bin\;C:\j2sdk1.4.2_03\bin\;C:\j2sdkee1.3.1\bin\;%SystemRoot%\syste
m3
  2;%SystemRoot%;%SystemRoot%\system32\WBEM



  Any ideas?



  Thanks in advance




  -
  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: A little offbeat question

2004-09-16 Thread John Najarian
I'll check that but I'm sure it is in there.
Just earlier today it was working

-Original Message-
From: Aris Javier [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 16, 2004 12:18 AM
To: Tomcat Users List
Subject: RE: A little offbeat question

Define your classpath... 
Your classpath should include  c:\j2sdk1.4.2_03

-Original Message-----
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 16, 2004 3:03 PM
To: 'Tomcat Users List'
Subject: RE: A little offbeat question

One more thing, tomcat was running fine.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 12:01 AM
To: [EMAIL PROTECTED]
Subject: A little offbeat question

I tried to run a program I thought would but it doesn't.

This is on a windows XP platform.

Everything compiled well but I get this error:

Exception in thread "main" java.lang.NoClassDefFoundError:
HelloWorld/class

 

So I went back and tried a no brainer 'HelloWorld'  This is the code.

/**

 * The HelloWorld class implements an application that

 * displays "Hello World!" to the standard output.

 */

public class HelloWorld {

public static void main(String[] args) {

// Display "Hello World!"

System.out.println("Hello World!");

}

}

 

It compiles but I get the same error.

I check my environment variables and mine are

JAVA_HOME c:\j2sdk1.4.2_03

PATH
C:\Perl\bin\;C:\j2sdk1.4.2_03\bin\;C:\j2sdkee1.3.1\bin\;%SystemRoot%\sys
tem3
2;%SystemRoot%;%SystemRoot%\system32\WBEM

 

Any ideas?

 

Thanks in advance




-
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: A little offbeat question

2004-09-16 Thread John Najarian
I wasn't trying to do anything with tomcat.

Just writing a standalone app.  But now even
the dumb HelloWorld 1 doesn't work on the command line.

-Original Message-
From: Meena Alagappan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 16, 2004 12:13 AM
To: Tomcat Users List
Subject: Re: A little offbeat question


Frist tell me what you are trying do this code with tomcat ?





Best Regards,
Meena.
~

--
Life is a festival ...
Celebrate it ...
--



  - Original Message - 
  From: John Najarian 
  To: 'Tomcat Users List' 
  Sent: Thursday, September 16, 2004 12:33 PM
  Subject: RE: A little offbeat question


  One more thing, tomcat was running fine.

  -Original Message-
  From: John Najarian [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, September 16, 2004 12:01 AM
  To: [EMAIL PROTECTED]
  Subject: A little offbeat question

  I tried to run a program I thought would but it doesn't.

  This is on a windows XP platform.

  Everything compiled well but I get this error:

  Exception in thread "main" java.lang.NoClassDefFoundError:
HelloWorld/class

   

  So I went back and tried a no brainer 'HelloWorld'  This is the code.

  /**

   * The HelloWorld class implements an application that

   * displays "Hello World!" to the standard output.

   */

  public class HelloWorld {

  public static void main(String[] args) {

  // Display "Hello World!"

  System.out.println("Hello World!");

  }

  }

   

  It compiles but I get the same error.

  I check my environment variables and mine are

  JAVA_HOME c:\j2sdk1.4.2_03

  PATH
 
C:\Perl\bin\;C:\j2sdk1.4.2_03\bin\;C:\j2sdkee1.3.1\bin\;%SystemRoot%\system3
  2;%SystemRoot%;%SystemRoot%\system32\WBEM

   

  Any ideas?

   

  Thanks in advance




  -
  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: A little offbeat question

2004-09-16 Thread John Najarian
One more thing, tomcat was running fine.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 16, 2004 12:01 AM
To: [EMAIL PROTECTED]
Subject: A little offbeat question

I tried to run a program I thought would but it doesn't.

This is on a windows XP platform.

Everything compiled well but I get this error:

Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld/class

 

So I went back and tried a no brainer 'HelloWorld'  This is the code.

/**

 * The HelloWorld class implements an application that

 * displays "Hello World!" to the standard output.

 */

public class HelloWorld {

public static void main(String[] args) {

// Display "Hello World!"

System.out.println("Hello World!");

}

}

 

It compiles but I get the same error.

I check my environment variables and mine are

JAVA_HOME c:\j2sdk1.4.2_03

PATH
C:\Perl\bin\;C:\j2sdk1.4.2_03\bin\;C:\j2sdkee1.3.1\bin\;%SystemRoot%\system3
2;%SystemRoot%;%SystemRoot%\system32\WBEM

 

Any ideas?

 

Thanks in advance




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



A little offbeat question

2004-09-16 Thread John Najarian
I tried to run a program I thought would but it doesn't.

This is on a windows XP platform.

Everything compiled well but I get this error:

Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld/class

 

So I went back and tried a no brainer 'HelloWorld'  This is the code.

/**

 * The HelloWorld class implements an application that

 * displays "Hello World!" to the standard output.

 */

public class HelloWorld {

public static void main(String[] args) {

// Display "Hello World!"

System.out.println("Hello World!");

}

}

 

It compiles but I get the same error.

I check my environment variables and mine are

JAVA_HOME c:\j2sdk1.4.2_03

PATH
C:\Perl\bin\;C:\j2sdk1.4.2_03\bin\;C:\j2sdkee1.3.1\bin\;%SystemRoot%\system3
2;%SystemRoot%;%SystemRoot%\system32\WBEM

 

Any ideas?

 

Thanks in advance



RE: Home page Administration and Manager links

2004-09-15 Thread John Najarian
Pam,

   In the C:\Tomcat\conf\tomcat-users.xml file you might have to add user
such as:
  

See if this works.

-Original Message-
From: Pamela Stangl [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 15, 2004 11:15 AM
To: Tomcat Users List
Subject: RE: Home page Administration and Manager links

Thank you.   I do see the admin.xml and manager.xml.

I don't get prompted for a username/password.  I do get a 404 
response.How do I configure these credentials?

Thanks again for the help.

At 02:03 PM 9/15/2004 -0400, you wrote:

>Hi,
>They don't exist as directories under the webapps directory.  Take a
>look at how they're declared: using the admin.xml and manager.xml files.
>Those files have  elements which point to the docBase.
>
>For Admin and Manager both, you should be prompted for a user name and
>password.  If you don't know or didn't configure these credentials, you
>should get a 401 (unauthorized), not a 404 (not found) response.
>
>Yoav Shapira
>Millennium Research Informatics
>
>
> >-Original Message-
> >From: Pamela Stangl [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, September 15, 2004 1:55 PM
> >To: [EMAIL PROTECTED]
> >Subject: Home page Administration and Manager links
> >
> >I just un-tarred the binaries for Tomcat 4.1.30 and easily got it to
> >run.   So I'm able to bring up the default Tomcat home page.   But when
>I
> >select the link for Tomcat Administration or Tomcat Manager under
> >Administration, I get 404 errors.   The Tomcat Administrtaion link is
> >looking for /admin and the Tomcat Manager link is looking for
> >/manager/html  .Neither the /admin or /manager directories exist.
> >
> >Any help would be appreciated.
> >
> >
> >-
> >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: How many connections can be made to Tomcat on Windows?

2004-09-14 Thread John Najarian
No, it doesn't mean that(although it was funny).
What it means is to run Unix/Linux.  Winblows sux!

-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 14, 2004 10:10 AM
To: Tomcat Users List
Subject: Re: How many connections can be made to Tomcat on Windows?

so does this mean Intel should donate some hardware to Apache for
suggesting users buy more hardware :)

sorry, couldn't resist.

if you provide more information about what the page does (without
revealing sensitive info), you'll get more detailed response.
Otherwise, we're just shooting darts with a blind fold, in a darkroom
with the board 100 yards away.

peter



On Tue, 14 Sep 2004 19:04:40 +0200, Mladen Turk <[EMAIL PROTECTED]> wrote:
> Jorge Sopena wrote:
> > Yes, I'm running Tomcat on a windows server, but I'm not in a production
> > environment yet.
> >
> > What do you mean with "inbounds connections"?
> > I could test that sending requests every 20ms there were around 200
> > sockets in the system (with netstat command)
> 
> Not sure what tool you are using for profiling (MS Stress?).
> Your test also doesn't show nothing (useful). It only shows that
> you combination of application/hardware/etc cannot deliver the context
> inside 20ms.
> Increase the interval and when you stop receiving exceptions, that's the
> workload of your hardware. Now, check the SpecMark for your computer,
> and order a new box that will have a SpecMark high enough to drive your
> application :).
> 
> >
> > Any way, where could I look this "inbound limit" in a Windows system?
> > Maybe that is a hint to find de final answer.
> >
> 
> Well, you have a 200 opened connections (those are likely 100 if you
> are testing from the same box, but I hope you are not doing that).
> Also if there is a limit (non-server products has max 10) it wouldn't
> manifest as java exception, but rather directly to the client, never
> reaching tomcat.
> 
> Regards,
> MT.
> 
> 
> 
>

-
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 create/run a Java Service on UNIX

2004-09-10 Thread John Najarian
Hi Daxin,

   How are you going to genereate the keys?  Via the database?  Also, seeing
as you are going to use 'service' with & without Tomcat I'd like to know if
either application will be up as long as the server(s) is up.  If that's the
case you could have both applications check at startup if the daemon is
active(running) or not not.  If the daemon isn't active either application
could start it.  If this service should be up whenever the hardware is up
you could start the service on boot so it is in theory always available to
the 2 applications when they are started but each must check if the daemon
is running prior to accessing the daemon.

   The person who recommended learning daemons was entirely right and
without my knowing more of the 2 applications I can not tell you more except
since tomcat will access he daemon, I would look closely at the framework in
Jakarta to see if it will suit both applications.  I haven't looked at it
closely and it Tomcat must be running for the daemon to be running(which I
doubt) I wouldn't utilize that framework.

-Original Message-
From: Daxin Zuo [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 10, 2004 12:03 PM
To: Tomcat Users List
Subject: RE: How to create/run a Java Service on UNIX

First I thank very much for the replies. Please continue forward
instruction.
this service, written in Java,  will serves two applications: one is online
with Tomcat, and another one is an offline application. these two
applications will sometimes update the same data tables. This service will
provide unique keys, and do something else for these two applications.

This service will not depend on if Tomcat is running or not.
I want this service on UNIX runs automatically when the computer is started,
and keep running.

Thanks.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 8:35 PM
To: 'Tomcat Users List'
Subject: RE: How to create/run a Java Service on UNIX


It's very easy to launch a Java daemon in Linux/Unix.
It used to be difficult & require some JNI programming.
On the GNU site I found a slick way someone wronte in
Java and it is simple.  What I wanted to know from the
person asking the question is what they're trying to do
with the 'Service'. 'Service' this is Unix not winblows.
Get with the correct lingo! - LOL!

-Original Message-
From: John Gentilin [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 7:08 PM
To: Tomcat Users List
Subject: Re: How to create/run a Java Service on UNIX

Sorry, missed the beginning of this thread but..

I have this book
http://half.ebay.com/cat/buy/prod.cgi?cpid=282172&meta_id=1
and I use it often. It has a very good section on how to create a single or
multi threaded server. It does not go into how to launch this process as
a daemon thread under Unix. I think all you really need to do is launch the
process as a background task by appending the & to the end of the
command line.
Look at the tomcat Catalina.sh as an example of a startup script to run the
service in the background.

HTH
-John G

Daxin Zuo wrote:

>The program is written as Java class. Does it requires special functions?
>How to make it a service, keep running and ready to provid data?
>Thanks.
>
>-Original Message-
>From: Mike Curwen [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 09, 2004 3:30 PM
>To: 'Tomcat Users List'
>Subject: RE: How to create/run a Java Service on UNIX
>
>
>So you've already written this java program, and it has a public static
void
>main() method, and it all interfaces properly with what you need it to, and
>you just want to know how to make it start when your UNIX box starts?
>
>Or you haven't written the program yet at all, and you want to know how to
>go about doing so?
>
>
>
>
>>-Original Message-
>>From: Daxin Zuo [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 09, 2004 5:19 PM
>>To: Tomcat Users List
>>Subject: RE: How to create/run a Java Service on UNIX
>>
>>
>>Yes. It keep running and sometimes it replies and provides
>>some data for other applications.
>>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 09, 2004 2:59 PM
>>To: 'Tomcat Users List'
>>Subject: RE: How to create/run a Java Service on UNIX
>>
>>
>>Do you want to run this as a daemon?
>>
>>
>>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>

RE: How to create/run a Java Service on UNIX

2004-09-09 Thread John Najarian
It's very easy to launch a Java daemon in Linux/Unix.
It used to be difficult & require some JNI programming.
On the GNU site I found a slick way someone wronte in
Java and it is simple.  What I wanted to know from the
person asking the question is what they're trying to do
with the 'Service'. 'Service' this is Unix not winblows.
Get with the correct lingo! - LOL!

-Original Message-
From: John Gentilin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 09, 2004 7:08 PM
To: Tomcat Users List
Subject: Re: How to create/run a Java Service on UNIX

Sorry, missed the beginning of this thread but..

I have this book 
http://half.ebay.com/cat/buy/prod.cgi?cpid=282172&meta_id=1
and I use it often. It has a very good section on how to create a single or
multi threaded server. It does not go into how to launch this process as 
a daemon thread under Unix. I think all you really need to do is launch the
process as a background task by appending the & to the end of the 
command line.
Look at the tomcat Catalina.sh as an example of a startup script to run the
service in the background.

HTH
-John G

Daxin Zuo wrote:

>The program is written as Java class. Does it requires special functions?
>How to make it a service, keep running and ready to provid data?
>Thanks.
>
>-Original Message-
>From: Mike Curwen [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 09, 2004 3:30 PM
>To: 'Tomcat Users List'
>Subject: RE: How to create/run a Java Service on UNIX
>
>
>So you've already written this java program, and it has a public static
void
>main() method, and it all interfaces properly with what you need it to, and
>you just want to know how to make it start when your UNIX box starts?
>
>Or you haven't written the program yet at all, and you want to know how to
>go about doing so?
>
>
>  
>
>>-Original Message-
>>From: Daxin Zuo [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 09, 2004 5:19 PM
>>To: Tomcat Users List
>>Subject: RE: How to create/run a Java Service on UNIX
>>
>>
>>Yes. It keep running and sometimes it replies and provides
>>some data for other applications.
>>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 09, 2004 2:59 PM
>>To: 'Tomcat Users List'
>>Subject: RE: How to create/run a Java Service on UNIX
>>
>>
>>Do you want to run this as a daemon?
>>
>>
>>
>
>
>-
>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: How to create/run a Java Service on UNIX

2004-09-09 Thread John Najarian
That's why I asked if it can be run as a daemon.

-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 09, 2004 3:30 PM
To: 'Tomcat Users List'
Subject: RE: How to create/run a Java Service on UNIX

So you've already written this java program, and it has a public static void
main() method, and it all interfaces properly with what you need it to, and
you just want to know how to make it start when your UNIX box starts?
 
Or you haven't written the program yet at all, and you want to know how to
go about doing so?


> -Original Message-
> From: Daxin Zuo [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 09, 2004 5:19 PM
> To: Tomcat Users List
> Subject: RE: How to create/run a Java Service on UNIX
> 
> 
> Yes. It keep running and sometimes it replies and provides 
> some data for other applications.
> 
> -Original Message-
> From: John Najarian [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 09, 2004 2:59 PM
> To: 'Tomcat Users List'
> Subject: RE: How to create/run a Java Service on UNIX
> 
> 
> Do you want to run this as a daemon?
> 


-
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 create/run a Java Service on UNIX

2004-09-09 Thread John Najarian
Do you want to run this as a daemon?

-Original Message-
From: Daxin Zuo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 09, 2004 2:11 PM
To: Tomcat Users List
Subject: How to create/run a Java Service on UNIX

I neeed to create a service on UNIX.( The program is in Java. this service
will serves an offline application and an online application running with
Tomcat.)

Could you please tell me how to do.

Thanks.


-
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: Trouble getting examples to work

2004-09-05 Thread John Najarian
I figured out the uri was incorrect.  Sorry to have bothered everyone with
an oversight.

 

Also, the line in math.jsp was incorrect



and should have been



 

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 05, 2004 8:24 AM
To: 'Tomcat Users List'
Subject: Trouble getting examples to work

 

I'm trying some of the examples from the

http://java.sun.com/developer/technicalArticles/javaserverpages/JSP20/ site.

 

Trying the 1 below the error message I get:

Anyone have any ideas?  Thanks

 


HTTP Status 500 - 

  _  


type Exception report

message 

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception 

org.apache.jasper.JasperException: The absolute uri:
http://jakarta.apache.org/tomcat/jsp2-example-taglib %>
 

Functions

 

 
Add Numbers

(TagLibraryInfoImpl.java
:147)
 
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
 
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:22
0)
 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
11)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
95)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.27 logs.

 

 

Figure 2: Handling forms 


Developing and Using Functions


The expression language allows you to define functions that can be invoked
in an expression. Functions must be programmed as a public static method in
a public class. Once the function is developed, its signature is mapped in a
Tag Library Descriptor (TLD). 

To illustrate the use of functions, I use a simple example to add two
numbers. First we write the Java code for the method to add two numbers.
Code Sample 3 shows a static method that accepts two Strings, parses them to
integers, and returns their sum. 

Code Sample 3: Compute.java 


package jsp2.examples.el;
 
import java.util.*;
 
public class Compute {
   public static int add(String x, String y) {
  int a = 0;
  int b = 0;
  try {
a = Integer.parseInt(x);
b = Integer.parseInt(y);
  }catch(Exception e) {} 
  return a + b;
   }
}

 

Once this is successfully compiled using javac, the next step is to map the
function's signature in the tag library. Code Sample 4 shows how to map the
add function to the class containing the implementation of the function and
the signature of the function. I will tell you where to add this later. 

Code Sample 4: Function Descriptor 



add x and y
add
jsp2.examples.el.Compute

int
add(java.lang.String,java.lang.String)



 

Now, we can write the JSP page that uses the function. Code Sample 5 shows a
form with two fields. The user enters two numbers and when the "Add Numbers"
button is clicked, the function is called to add the numbers. The result is
displayed on the same page. 

Code Sample 5: math.jsp 


<%@ taglib prefix="my" 
uri="http://jakarta.apache.org/tomcat/jsp2-example-taglib %>
 

Functions

 

 
Add Numbers


   X = 
   
   Y = 
   

 

The sum is: ${my:add(param["x"],param["y"])}
 



 

To run this example: 

1.  Copy Compute.java and save it at:
C:\Tomcat5.0\webapps\jsp-examples\WEB-INF\classes\jsp2\examples\el

2.  Compile Compute.java using javac

3.  Edit the file
C:\Tomcat5.0\webapps\jsp-examples\WEB-INF\jsp2\jsp2-example-taglib.tld and
append the snippet of code in Code Sample 4 after the last  in
the file and before 

4.  Copy math.jsp to c:\Tomcat5.0\webapps\jsp-examples\jsp2-tutorial

5.  Request the jsp file math.jsp from a web browser

If all goes well, you should see something similar to Figure 3. 



 



Trouble getting examples to work

2004-09-05 Thread John Najarian








I’m trying some of the examples from the

http://java.sun.com/developer/technicalArticles/javaserverpages/JSP20/
site.

 

Trying the 1 below the error message I get:

Anyone have any ideas?  Thanks

 

HTTP Status 500 -








type Exception report

message 

description The server encountered an
internal error () that prevented it from fulfilling this request.

exception 

org.apache.jasper.JasperException: The absolute uri: http://jakarta.apache.org/tomcat/jsp2-example-taglib %> Functions  Add Numbers    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:118)    org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)    org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:147)    org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)    org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)    org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)    org.apache.jasper.compiler.Parser.parse(Parser.java:126)    org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)    org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)    org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)    org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)    org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root
cause is available in the Apache Tomcat/5.0.27 logs.

 

 

Figure
2: Handling forms 

Developing
and Using Functions

The
_expression_ language allows you to define functions that can be invoked in an
_expression_. Functions must be programmed as a public static
method in a public
class. Once the function is developed, its signature is mapped in a Tag Library
Descriptor (TLD). 

To
illustrate the use of functions, I use a simple example to add two numbers.
First we write the Java code for the method to add two numbers. Code Sample 3
shows a static method that accepts two Strings,
parses them to integers, and returns their sum. 

Code Sample 3: Compute.java 


 
  package jsp2.examples.el; import java.util.*; public class Compute {   public static int add(String x, String y) {  int a = 0;  int b = 0;  try {    a = Integer.parseInt(x);    b = Integer.parseInt(y);  }catch(Exception e) {}   return a + b;   }}
 








Once this
is successfully compiled using javac,
the next step is to map the function's signature in the tag library. Code
Sample 4 shows how to map the add function to the class
containing the implementation of the function and the signature of the
function. I will tell you where to add this later. 

Code Sample 4: Function Descriptor 


 
      add x and y    add    jsp2.examples.el.Compute        int    add(java.lang.String,java.lang.String)    
 








Now, we
can write the JSP page that uses the function. Code Sample 5 shows a form with
two fields. The user enters two numbers and when the "Add Numbers"
button is clicked, the function is called to add the numbers. The result is
displayed on the same page. 

Code Sample 5: math.jsp 


 
  <%@ taglib prefix="my" uri="http://jakarta.apache.org/tomcat/jsp2-example-taglib %> Functions  Add Numbers   X =       Y =     The sum is: ${my:add(param["x"],param["y"])} 
 








To run
this example: 


 Copy Compute.java
 and save it at: C:\Tomcat5.0\webapps\jsp-examples\WEB-INF\classes\jsp2\examples\el
 Compile Compute.java
 using javac
 Edit the file C:\Tomcat5.0\webapps\jsp-examples\WEB-INF\jsp2\jsp2-example-taglib.tld
 and append the snippet of code in Code Sample 4 after the last 
 in the file and before 
 Copy math.jsp
 to c:\Tomcat5.0\webapps\jsp-examples\jsp2-tutorial
 Request the jsp file math.jsp
 from a web browser


If all
goes well, you should see something similar to Figure 3. 



 








RE: Tomcat 5 service on windows

2004-09-04 Thread John Najarian
But Tomcat isn't listed as an installed program
on 2K or XP and I imagine on any other winbloze
platform.

I had a similar problem and running:
"Tomcat/bin/service.bat remove" did the trick.

Check if Tomcat5.28 runs with your jdk.  I read
you're using jdk1.4.1_05.  Check that you might
need a newer version of the jdk.

-Original Message-
From: Big Chiz [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 8:59 PM
To: Tomcat Users List
Subject: Re: Tomcat 5 service on windows

anyway, try uninstalling all tomcat on the ad/remove programs. then
clean all registries of any tomcat, by searching them in find in
regedit. then checkout your j2sdk path if its correct, then try
reinstalling.


On Fri, 3 Sep 2004 17:39:19 +0100, Nelson, Jerry W, Contractor 146CF,
SCB <[EMAIL PROTECTED]> wrote:
> Yes...
> 
> //SIGNED//
> 
> Jerry Nelson
> 
> 
> 
> 
> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 03, 2004 9:20 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 5 service on windows
> 
> did you try my suggestion re: service remove and then service install?
> 
> ADC
> 
> > -Original Message-
> > From: Nelson, Jerry W, Contractor 146CF, SCB
> > [mailto:[EMAIL PROTECTED]
> > Sent: 03 September 2004 17:12
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat 5 service on windows
> >
> >
> > Yes, ran service.bat completely unmodified.  I still have to
> > run startup.bat
> > to get tomcat to work.
> >
> > //SIGNED//
> >
> > Jerry Nelson
> >
> >
> > -Original Message-
> > From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 03, 2004 8:31 AM
> > To: Tomcat Users List
> > Subject: RE: Tomcat 5 service on windows
> >
> >
> > also, you may try removal anyway and reinstall ...
> >
> > service.bat remove
> >
> > and then
> >
> > service.bat install
> >
> > if you checked the box on the install then maybe it _did_ do
> > something that
> > needs to be removed first (wild stab in the dark!)
> >
> > :p
> >
> > ADC
> >
> > > -Original Message-
> > > From: Allistair Crossley
> > > Sent: 03 September 2004 16:28
> > > To: Tomcat Users List
> > > Subject: RE: Tomcat 5 service on windows
> > >
> > >
> > > did you run the service.bat unmodified? this can also happen
> > > when you have spaces in some of the properties for the service name.
> > >
> > > ADC
> > >
> > > > -Original Message-
> > > > From: Nelson, Jerry W, Contractor 146CF, SCB
> > > > [mailto:[EMAIL PROTECTED]
> > > > Sent: 03 September 2004 16:25
> > > > To: 'Tomcat Users List'
> > > > Subject: RE: Tomcat 5 service on windows
> > > >
> > > >
> > > > I HAVE THE SAME PROBLEM...In my case, I am the computer
> > > > administrator and
> > > > Tomcat has NEVER been installed previous to this. I have not
> > > > seen ANY good
> > > > solutions to this, so I learned to live with the DOS
> > based service.
> > > >
> > > > //SIGNED//
> > > >
> > > > Jerry Nelson
> > > >
> > > > -Original Message-
> > > > From: John Villar [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, September 03, 2004 6:27 AM
> > > > To: Tomcat Users List
> > > > Subject: Re: Tomcat 5 service on windows
> > > >
> > > >
> > > > Do you have permission to write on the registry? you need to
> > > > have write
> > > > access to some key (don't remember specifically what is the
> > > key right
> > > > now) in the registry to install tomcat as a service.
> > > >
> > > > Allistair Crossley escribió:
> > > >
> > > > >did you have a tomcat service installed already? did you
> > > > have the services
> > > > window open when you ran this? try checking there are no
> > > > tomcat services and
> > > > closing the services window and trying again.
> > > > >
> > > > >ADC
> > > > >
> > > > >
> > > > >
> > > > >>-Original Message-
> > > > >>From: Andras Balogh [mailto:[EMAIL PROTECTED]
> > > > >>Sent: 03 September 2004 11:28
> > > > >>To: [EMAIL PROTECTED]
> > > > >>Subject: Tomcat 5 service on windows
> > > > >>
> > > > >>
> > > > >>Hello all,
> > > > >>
> > > > >>I have downloaded the Tomcat 5.0.28. distibution
> > for windows
> > > > >>(jakarta-tomcat-5.0.28.exe) and tried
> > > > >>to install tomcat as service and checked the service
> > > option in the
> > > > >>install wizard.
> > > > >>Tomcat wasn't installed as service and i tried manual with the
> > > > >>service.bat script:
> > > > >>Here is the output i get:
> > > > >>D:\Tomcat 5.0\bin>service install
> > > > >>Installing the service 'Tomcat5' ...
> > > > >>Using CATALINA_HOME:D:\Tomcat 5.0
> > > > >>Using JAVA_HOME:D:\j2sdk1.4.1_05
> > > > >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> > > > >>The system cannot find the file specified.
> > > > >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> > > > >>Load configuration failed
> > > > >>[2004-09-03 12:09:45] [349  prunsrv.c] [error]
> > > > >>The system cannot find the file specified.
> > > > >>[2004-09-03 12:09:45] [1037 prunsrv.c] [error]
> > > > >>Load conf

RE: [tomcat] Removing a service from XP

2004-09-04 Thread John Najarian
Thanks

-Original Message-
From: Big Chiz [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 04, 2004 2:37 AM
To: Tomcat Users List
Subject: Re: [tomcat] Removing a service from XP

use the service.bat from the tomcat/bin dir


On Fri, 3 Sep 2004 14:11:48 -0600, Ernesto Echeverría
<[EMAIL PROTECTED]> wrote:
> This might not be the answer to your question, but then you can keep the
> service and just configure it not to start automatically (like, if you
want
> to start tomcat from the batch files provided).
> 
> José Ernesto Echeverría
> 
> 
> 
> 
> -----Original Message-
> From: John Najarian [mailto:[EMAIL PROTECTED]
> Sent: Viernes, 03 de Septiembre de 2004 01:27 p.m.
> To: 'Tomcat Users List'
> Subject: [tomcat] Removing a service from XP
> 
> I have a service for tomcat on XP.  Does anyone know how to remove the
> service?
> 
> Thanks
> 
> 
> -
> 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]



Removing a service from XP

2004-09-03 Thread John Najarian
I have a service for tomcat on XP.  Does anyone know how to remove the
service?

 

Thanks



RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
Yes

-Original Message-
From: Ernesto Echeverría [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 11:47 AM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

What book is that? Java Server Pages 3rd Edition? 

Have you tried the JSP samples from the tomcat installation? First thing to
do cause then you know if jsps are compiling correctly.


José Ernesto Echeverría


-Original Message-----
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Viernes, 03 de Septiembre de 2004 12:16 p.m.
To: 'Tomcat Users List'
Subject: [tomcat] RE: Newbie help w/ORielly examples

Yes, the entire directory.  I think I'll uninstall 5.19 and install 5.27

-Original Message-
From: Williams, Mark L CIV NSWC-PC [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 11:01 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples

FWIW, the O'Reilly examples work just fine on my TC 5.0.27 site with no
tweaking of any kind. Did you if you followed the installation instructions
to be sure the whole directory tree was copied into the webapps directory?

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 12:57
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples



Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:55 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I don't know if the Tomcat examples run.  That's what I'm trying.
>Other JPSs & Servelts do run on this tomcat installation.
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 10:25 AM
>To: Tomcat Users List
>Subject: RE: Newbie help w/ORielly examples
>
>
>Hi,
>It's not accurate to say that 500-class HTTP responses are usually 
>application code bugs.  Server misconfiguration is at least as common a 
>cause for these responses.
>
>The stack trace and error information posted by the OP is insufficient
to
>determine the cause of the error.
>
>To the OP: do the Tomcat examples run?
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Friday, September 03, 2004 1:20 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>Recomiliing didn't help.  Has anyone got any ideas?
>>Thanks.
>>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:56 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>I've restarted a few times.  I'll see if I can recompile these.
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:40 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>Usually HTTP 500 codes are bugs in the code i really don't know
what
>>this "debug" attribute is used for but you should restart your 
>>tomcat to see if it heals.
>>
>>John Najarian escribió:
>>
>>>I got in there but now I get this error when I try to access
>>>
>>>the context '/ora':
>>>
>>>
>>>
>>>
>>>HTTP Status 500 - Error retrieving attribute debug
>>>
>>>  _
>>>
>>>
>>>type Status report
>>>
>>>message Error retrieving attribute debug
>>>
>>>description The server encountered an internal error (Error
retrieving
>>>attribute debug) that prevented it from fulfilling this request.
>>>
>>>  _
>>>
>>>
>>>Apache Tomcat/5.0.19
>>>
>>>
>>>
>>>
>>>
>>>
>>>-Original Message-
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>Sent: Thursday, September 02, 2004 2:25 PM
>>>To: Tomcat Users List
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>>
>>>Then manually deploy it the admin app has a facility to deploy a
>>>
>>>context that should do the trick
>>>
>>>
>>>
>>>John Najarian escribió:
>>>
>>>
>>>
>>>
>>>
>>>>Thanks John, the autodeploy was already set to 'T

RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
Yoav, I think you were right.  I installed 5.27
& everything works.  I don't know why because it
wasn't any changes I did.  I hadn't done any
configuration.

Does anyone know how to remove the old 

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 10:25 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
It's not accurate to say that 500-class HTTP responses are usually
application code bugs.  Server misconfiguration is at least as common a
cause for these responses.

The stack trace and error information posted by the OP is insufficient to
determine the cause of the error.

To the OP: do the Tomcat examples run? 

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:20 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>Recomiliing didn't help.  Has anyone got any ideas?
>Thanks.
>
>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 02, 2004 2:56 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I've restarted a few times.  I'll see if I can recompile these.
>
>-Original Message-
>From: John Villar [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 02, 2004 2:40 PM
>To: Tomcat Users List
>Subject: Re: Newbie help w/ORielly examples
>
>Usually HTTP 500 codes are bugs in the code.... i really don't know what
>this "debug" attribute is used for but you should restart your
>tomcat to see if it heals.
>
>John Najarian escribió:
>
>>I got in there but now I get this error when I try to access
>>
>>the context '/ora':
>>
>>
>>
>>
>>HTTP Status 500 - Error retrieving attribute debug
>>
>>  _
>>
>>
>>type Status report
>>
>>message Error retrieving attribute debug
>>
>>description The server encountered an internal error (Error retrieving
>>attribute debug) that prevented it from fulfilling this request.
>>
>>  _
>>
>>
>>Apache Tomcat/5.0.19
>>
>>
>>
>>
>>
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:25 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>
>>
>>Then manually deploy it the admin app has a facility to deploy a
>>
>>context that should do the trick
>>
>>
>>
>>John Najarian escribió:
>>
>>
>>
>>
>>
>>>Thanks John, the autodeploy was already set to 'True'.
>>>
>>>
>>
>>
>>
>>>I've got a few apps working this one just doesn't.
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>-Original Message-
>>>
>>>
>>
>>
>>
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>
>>>
>>
>>
>>
>>>Sent: Thursday, September 02, 2004 1:44 PM
>>>
>>>
>>
>>
>>
>>>To: Tomcat Users List
>>>
>>>
>>
>>
>>
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>enable autodeploy on the admin app (i.e. localhost:8080/admin). Make
>>>
>>>
>>
>>
>>
>>>sure you have a user configured to access the admin app in your
>>>
>>>
>>
>>
>>
>>>conf/server.xml file
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>John Najarian escribió:
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>>I've tried installing the examples from the 'Java Server Pages'
>>>>
>>>>
>>
>>
>>
>>>>book to no avail.  I expanded the jspbook3.zip file and copied
>>>>
>>>>
>>
>>
>>
>>>>the 'ora/' directory to the 'tomcat/webapps' directory.
>>>>
>>>>
>>
>>
>>
>>
>>
>>
>>>>I restarted the tomcat service.  When I try to access the apps
>>>>
>>>>
>>
>>

RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
OReilly

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 10:57 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:55 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I don't know if the Tomcat examples run.  That's what I'm trying.
>Other JPSs & Servelts do run on this tomcat installation.
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 10:25 AM
>To: Tomcat Users List
>Subject: RE: Newbie help w/ORielly examples
>
>
>Hi,
>It's not accurate to say that 500-class HTTP responses are usually
>application code bugs.  Server misconfiguration is at least as common a
>cause for these responses.
>
>The stack trace and error information posted by the OP is insufficient to
>determine the cause of the error.
>
>To the OP: do the Tomcat examples run?
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Friday, September 03, 2004 1:20 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>Recomiliing didn't help.  Has anyone got any ideas?
>>Thanks.
>>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:56 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>I've restarted a few times.  I'll see if I can recompile these.
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:40 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>Usually HTTP 500 codes are bugs in the code i really don't know what
>>this "debug" attribute is used for but you should restart your
>>tomcat to see if it heals.
>>
>>John Najarian escribió:
>>
>>>I got in there but now I get this error when I try to access
>>>
>>>the context '/ora':
>>>
>>>
>>>
>>>
>>>HTTP Status 500 - Error retrieving attribute debug
>>>
>>>  _
>>>
>>>
>>>type Status report
>>>
>>>message Error retrieving attribute debug
>>>
>>>description The server encountered an internal error (Error retrieving
>>>attribute debug) that prevented it from fulfilling this request.
>>>
>>>  _
>>>
>>>
>>>Apache Tomcat/5.0.19
>>>
>>>
>>>
>>>
>>>
>>>
>>>-Original Message-
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>Sent: Thursday, September 02, 2004 2:25 PM
>>>To: Tomcat Users List
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>>
>>>Then manually deploy it the admin app has a facility to deploy a
>>>
>>>context that should do the trick
>>>
>>>
>>>
>>>John Najarian escribió:
>>>
>>>
>>>
>>>
>>>
>>>>Thanks John, the autodeploy was already set to 'True'.
>>>>
>>>>
>>>
>>>
>>>
>>>>I've got a few apps working this one just doesn't.
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>-Original Message-
>>>>
>>>>
>>>
>>>
>>>
>>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>>
>>>>
>>>
>>>
>>>
>>>>Sent: Thursday, September 02, 2004 1:44 PM
>>>>
>>>>
>>>
>>>
>>>
>>>>To: Tomcat Users List
>>>>
>>>>
>>>
>>>
>>>
>>>>Subject: Re: Newbie help w/ORielly examples
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>enable autodeploy on the admin app (i.e. localhost:8080/admin). Make
>>>>
>>>>
>>>
>>>
>>>
>>>>sure you have 

RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
Yes, the entire directory.  I think I'll uninstall 5.19 and install 5.27

-Original Message-
From: Williams, Mark L CIV NSWC-PC [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 11:01 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples

FWIW, the O'Reilly examples work just fine on my TC 5.0.27 site with no
tweaking of any kind. Did you if you followed the installation
instructions to be sure the whole directory tree was copied into the
webapps directory?

Mark

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 12:57
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples



Hi,
Are you trying the Tomcat examples or the O'Reilly ones?

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:55 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I don't know if the Tomcat examples run.  That's what I'm trying.
>Other JPSs & Servelts do run on this tomcat installation.
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 10:25 AM
>To: Tomcat Users List
>Subject: RE: Newbie help w/ORielly examples
>
>
>Hi,
>It's not accurate to say that 500-class HTTP responses are usually
>application code bugs.  Server misconfiguration is at least as common a
>cause for these responses.
>
>The stack trace and error information posted by the OP is insufficient
to
>determine the cause of the error.
>
>To the OP: do the Tomcat examples run?
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Friday, September 03, 2004 1:20 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>Recomiliing didn't help.  Has anyone got any ideas?
>>Thanks.
>>
>>-Original Message-
>>From: John Najarian [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:56 PM
>>To: 'Tomcat Users List'
>>Subject: RE: Newbie help w/ORielly examples
>>
>>I've restarted a few times.  I'll see if I can recompile these.
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:40 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>Usually HTTP 500 codes are bugs in the code i really don't know
what
>>this "debug" attribute is used for but you should restart your
>>tomcat to see if it heals.
>>
>>John Najarian escribió:
>>
>>>I got in there but now I get this error when I try to access
>>>
>>>the context '/ora':
>>>
>>>
>>>
>>>
>>>HTTP Status 500 - Error retrieving attribute debug
>>>
>>>  _
>>>
>>>
>>>type Status report
>>>
>>>message Error retrieving attribute debug
>>>
>>>description The server encountered an internal error (Error
retrieving
>>>attribute debug) that prevented it from fulfilling this request.
>>>
>>>  _
>>>
>>>
>>>Apache Tomcat/5.0.19
>>>
>>>
>>>
>>>
>>>
>>>
>>>-Original Message-
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>Sent: Thursday, September 02, 2004 2:25 PM
>>>To: Tomcat Users List
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>>
>>>Then manually deploy it the admin app has a facility to deploy a
>>>
>>>context that should do the trick
>>>
>>>
>>>
>>>John Najarian escribió:
>>>
>>>
>>>
>>>
>>>
>>>>Thanks John, the autodeploy was already set to 'True'.
>>>>
>>>>
>>>
>>>
>>>
>>>>I've got a few apps working this one just doesn't.
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>-Original Message-
>>>>
>>>>
>>>
>>>
>>>
>>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>>
>>>>
>>>
>>>
>>>
>>>>Sent: Thursday, September 02, 2004 1:44 PM
>>>>
>>>>
>

RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
I don't know if the Tomcat examples run.  That's what I'm trying.
Other JPSs & Servelts do run on this tomcat installation.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 10:25 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples


Hi,
It's not accurate to say that 500-class HTTP responses are usually
application code bugs.  Server misconfiguration is at least as common a
cause for these responses.

The stack trace and error information posted by the OP is insufficient to
determine the cause of the error.

To the OP: do the Tomcat examples run? 

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 03, 2004 1:20 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>Recomiliing didn't help.  Has anyone got any ideas?
>Thanks.
>
>-Original Message-
>From: John Najarian [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 02, 2004 2:56 PM
>To: 'Tomcat Users List'
>Subject: RE: Newbie help w/ORielly examples
>
>I've restarted a few times.  I'll see if I can recompile these.
>
>-Original Message-
>From: John Villar [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 02, 2004 2:40 PM
>To: Tomcat Users List
>Subject: Re: Newbie help w/ORielly examples
>
>Usually HTTP 500 codes are bugs in the code.... i really don't know what
>this "debug" attribute is used for but you should restart your
>tomcat to see if it heals.
>
>John Najarian escribió:
>
>>I got in there but now I get this error when I try to access
>>
>>the context '/ora':
>>
>>
>>
>>
>>HTTP Status 500 - Error retrieving attribute debug
>>
>>  _
>>
>>
>>type Status report
>>
>>message Error retrieving attribute debug
>>
>>description The server encountered an internal error (Error retrieving
>>attribute debug) that prevented it from fulfilling this request.
>>
>>  _
>>
>>
>>Apache Tomcat/5.0.19
>>
>>
>>
>>
>>
>>
>>-Original Message-
>>From: John Villar [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, September 02, 2004 2:25 PM
>>To: Tomcat Users List
>>Subject: Re: Newbie help w/ORielly examples
>>
>>
>>
>>Then manually deploy it the admin app has a facility to deploy a
>>
>>context that should do the trick
>>
>>
>>
>>John Najarian escribió:
>>
>>
>>
>>
>>
>>>Thanks John, the autodeploy was already set to 'True'.
>>>
>>>
>>
>>
>>
>>>I've got a few apps working this one just doesn't.
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>-Original Message-
>>>
>>>
>>
>>
>>
>>>From: John Villar [mailto:[EMAIL PROTECTED]
>>>
>>>
>>
>>
>>
>>>Sent: Thursday, September 02, 2004 1:44 PM
>>>
>>>
>>
>>
>>
>>>To: Tomcat Users List
>>>
>>>
>>
>>
>>
>>>Subject: Re: Newbie help w/ORielly examples
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>enable autodeploy on the admin app (i.e. localhost:8080/admin). Make
>>>
>>>
>>
>>
>>
>>>sure you have a user configured to access the admin app in your
>>>
>>>
>>
>>
>>
>>>conf/server.xml file
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>John Najarian escribió:
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>>>I've tried installing the examples from the 'Java Server Pages'
>>>>
>>>>
>>
>>
>>
>>>>book to no avail.  I expanded the jspbook3.zip file and copied
>>>>
>>>>
>>
>>
>>
>>>>the 'ora/' directory to the 'tomcat/webapps' directory.
>>>>
>>>>
>>
>>
>>
>>
>>
>>
>>>>I restarted the tomcat service.  When I try to access the apps
>>>>
>>>>
>>
>>
>>
>>>>by typing 'http://localhost:8080/ora/' into a browser I get the
>>>>
>>>>
>>
>&

RE: Newbie help w/ORielly examples

2004-09-03 Thread John Najarian
Recomiliing didn't help.  Has anyone got any ideas?
Thanks.

-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:56 PM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples

I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know what 
this "debug" attribute is used for but you should restart your 
tomcat to see if it heals.

John Najarian escribió:

>I got in there but now I get this error when I try to access
>
>the context '/ora':
>
> 
>
>
>HTTP Status 500 - Error retrieving attribute debug
>
>  _  
>
>
>type Status report
>
>message Error retrieving attribute debug
>
>description The server encountered an internal error (Error retrieving
>attribute debug) that prevented it from fulfilling this request.
>
>  _  
>
>
>Apache Tomcat/5.0.19
>
>
> 
>
> 
>
>-Original Message-
>From: John Villar [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, September 02, 2004 2:25 PM
>To: Tomcat Users List
>Subject: Re: Newbie help w/ORielly examples
>
> 
>
>Then manually deploy it the admin app has a facility to deploy a 
>
>context that should do the trick
>
> 
>
>John Najarian escribió:
>
> 
>
>  
>
>>Thanks John, the autodeploy was already set to 'True'.
>>
>>
>
>  
>
>>I've got a few apps working this one just doesn't.
>>
>>
>
>  
>
>
>  
>
>>-Original Message-
>>
>>
>
>  
>
>>From: John Villar [mailto:[EMAIL PROTECTED] 
>>
>>
>
>  
>
>>Sent: Thursday, September 02, 2004 1:44 PM
>>
>>
>
>  
>
>>To: Tomcat Users List
>>
>>
>
>  
>
>>Subject: Re: Newbie help w/ORielly examples
>>
>>
>
>  
>
>
>  
>
>>enable autodeploy on the admin app (i.e. localhost:8080/admin). Make 
>>
>>
>
>  
>
>>sure you have a user configured to access the admin app in your 
>>
>>
>
>  
>
>>conf/server.xml file
>>
>>
>
>  
>
>
>  
>
>>John Najarian escribió:
>>
>>
>
>  
>
>
>  
>
>> 
>>
>>
>
>  
>
>
>  
>
>>>I've tried installing the examples from the 'Java Server Pages'
>>>  
>>>
>
>  
>
>>>book to no avail.  I expanded the jspbook3.zip file and copied
>>>  
>>>
>
>  
>
>>>the 'ora/' directory to the 'tomcat/webapps' directory.
>>>  
>>>
>
>  
>
>
>  
>
>>>I restarted the tomcat service.  When I try to access the apps
>>>  
>>>
>
>  
>
>>>by typing 'http://localhost:8080/ora/' into a browser I get the
>>>  
>>>
>
>  
>
>>>following displayed in the browser.
>>>  
>>>
>
>  
>
>
>  
>
>>>
>>>  
>>>
>
>  
>
>>>HTTP Status 404 - /ora/
>>>  
>>>
>
>  
>
>
>  
>
>>>type Status report
>>>  
>>>
>
>  
>
>
>  
>
>>>message /ora/
>>>  
>>>
>
>  
>
>
>  
>
>>>description The requested resource (/ora/) is not available.
>>>  
>>>
>
>  
>
>>>Apache Tomcat/5.0.19
>>>  
>>>
>
>  
>
>>>
>>>  
>>>
>
>  
>
>
>  
>
>>>Any ideas?  This is running on an XP machine.
>>>  
>>>
>
>  
>
>
>  
>
>>>Thanks
>>>  
>>>
>
>  
>
>
>  
>
>
>  
>
>
>  
>
>>>-
>>>  
>>>
>
>  
>
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>  
>>>
>
>  
>
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>  
>>>
>
>  
>
>
>  
>
>
>  
>
>
>  
>
>
>  
>
>>>   
>>>  
>>>
>
>  
>
>
>  
>
>
>  
>
>> 
>>
>>
>
>  
>
>
> 
>
>  
>

-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.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: Newbie help w/ORielly examples

2004-09-02 Thread John Najarian
I've restarted a few times.  I'll see if I can recompile these.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:40 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

Usually HTTP 500 codes are bugs in the code i really don't know what 
this "debug" attribute is used for but you should restart your 
tomcat to see if it heals.

John Najarian escribió:

>I got in there but now I get this error when I try to access
>
>the context '/ora':
>
> 
>
>
>HTTP Status 500 - Error retrieving attribute debug
>
>  _  
>
>
>type Status report
>
>message Error retrieving attribute debug
>
>description The server encountered an internal error (Error retrieving
>attribute debug) that prevented it from fulfilling this request.
>
>  _  
>
>
>Apache Tomcat/5.0.19
>
>
> 
>
> 
>
>-Original Message-
>From: John Villar [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, September 02, 2004 2:25 PM
>To: Tomcat Users List
>Subject: Re: Newbie help w/ORielly examples
>
> 
>
>Then manually deploy it the admin app has a facility to deploy a 
>
>context that should do the trick
>
> 
>
>John Najarian escribió:
>
> 
>
>  
>
>>Thanks John, the autodeploy was already set to 'True'.
>>
>>
>
>  
>
>>I've got a few apps working this one just doesn't.
>>
>>
>
>  
>
>
>  
>
>>-Original Message-
>>
>>
>
>  
>
>>From: John Villar [mailto:[EMAIL PROTECTED] 
>>
>>
>
>  
>
>>Sent: Thursday, September 02, 2004 1:44 PM
>>
>>
>
>  
>
>>To: Tomcat Users List
>>
>>
>
>  
>
>>Subject: Re: Newbie help w/ORielly examples
>>
>>
>
>  
>
>
>  
>
>>enable autodeploy on the admin app (i.e. localhost:8080/admin). Make 
>>
>>
>
>  
>
>>sure you have a user configured to access the admin app in your 
>>
>>
>
>  
>
>>conf/server.xml file
>>
>>
>
>  
>
>
>  
>
>>John Najarian escribió:
>>
>>
>
>  
>
>
>  
>
>> 
>>
>>
>
>  
>
>
>  
>
>>>I've tried installing the examples from the 'Java Server Pages'
>>>  
>>>
>
>  
>
>>>book to no avail.  I expanded the jspbook3.zip file and copied
>>>  
>>>
>
>  
>
>>>the 'ora/' directory to the 'tomcat/webapps' directory.
>>>  
>>>
>
>  
>
>
>  
>
>>>I restarted the tomcat service.  When I try to access the apps
>>>  
>>>
>
>  
>
>>>by typing 'http://localhost:8080/ora/' into a browser I get the
>>>  
>>>
>
>  
>
>>>following displayed in the browser.
>>>  
>>>
>
>  
>
>
>  
>
>>>
>>>  
>>>
>
>  
>
>>>HTTP Status 404 - /ora/
>>>  
>>>
>
>  
>
>
>  
>
>>>type Status report
>>>  
>>>
>
>  
>
>
>  
>
>>>message /ora/
>>>  
>>>
>
>  
>
>
>  
>
>>>description The requested resource (/ora/) is not available.
>>>  
>>>
>
>  
>
>>>Apache Tomcat/5.0.19
>>>  
>>>
>
>  
>
>>>
>>>  
>>>
>
>  
>
>
>  
>
>>>Any ideas?  This is running on an XP machine.
>>>  
>>>
>
>  
>
>
>  
>
>>>Thanks
>>>  
>>>
>
>  
>
>
>  
>
>
>  
>
>
>  
>
>>>-
>>>  
>>>
>
>  
>
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>  
>>>
>
>  
>
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>  
>>>
>
>  
>
>
>  
>
>
>  
>
>
>  
>
>
>  
>
>>>   
>>>  
>>>
>
>  
>
>
>  
>
>
>  
>
>> 
>>
>>
>
>  
>
>
> 
>
>  
>

-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





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



RE: Newbie help w/ORielly examples

2004-09-02 Thread John Najarian
I got in there but now I get this error when I try to access

the context '/ora':

 


HTTP Status 500 - Error retrieving attribute debug

  _  


type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error retrieving
attribute debug) that prevented it from fulfilling this request.

  _  


Apache Tomcat/5.0.19


 

 

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 2:25 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

 

Then manually deploy it the admin app has a facility to deploy a 

context that should do the trick

 

John Najarian escribió:

 

>Thanks John, the autodeploy was already set to 'True'.

>I've got a few apps working this one just doesn't.

>

>-Original Message-

>From: John Villar [mailto:[EMAIL PROTECTED] 

>Sent: Thursday, September 02, 2004 1:44 PM

>To: Tomcat Users List

>Subject: Re: Newbie help w/ORielly examples

>

>enable autodeploy on the admin app (i.e. localhost:8080/admin). Make 

>sure you have a user configured to access the admin app in your 

>conf/server.xml file

>

>John Najarian escribió:

>

>  

>

>>I've tried installing the examples from the 'Java Server Pages'

>>book to no avail.  I expanded the jspbook3.zip file and copied

>>the 'ora/' directory to the 'tomcat/webapps' directory.

>>

>>I restarted the tomcat service.  When I try to access the apps

>>by typing 'http://localhost:8080/ora/' into a browser I get the

>>following displayed in the browser.

>>

>>

>>HTTP Status 404 - /ora/

>>

>>type Status report

>>

>>message /ora/

>>

>>description The requested resource (/ora/) is not available.

>>Apache Tomcat/5.0.19

>>

>>

>>Any ideas?  This is running on an XP machine.

>>

>>Thanks

>>

>>

>>

>>-

>>To unsubscribe, e-mail: [EMAIL PROTECTED]

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

>>

>>

>> 

>>

>>

>>

>

>  

>

 

-- 

John Villar

Gerente de Proyectos

Computadores Flor Hard Soft 2058 C.A.

www.florhard.com

 

 



RE: Newbie help w/ORielly examples

2004-09-02 Thread John Najarian
Thanks John, the autodeploy was already set to 'True'.
I've got a few apps working this one just doesn't.

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 1:44 PM
To: Tomcat Users List
Subject: Re: Newbie help w/ORielly examples

enable autodeploy on the admin app (i.e. localhost:8080/admin). Make 
sure you have a user configured to access the admin app in your 
conf/server.xml file

John Najarian escribió:

>I've tried installing the examples from the 'Java Server Pages'
>book to no avail.  I expanded the jspbook3.zip file and copied
>the 'ora/' directory to the 'tomcat/webapps' directory.
>
>I restarted the tomcat service.  When I try to access the apps
>by typing 'http://localhost:8080/ora/' into a browser I get the
>following displayed in the browser.
>
>
>HTTP Status 404 - /ora/
>
>type Status report
>
>message /ora/
>
>description The requested resource (/ora/) is not available.
>Apache Tomcat/5.0.19
>
>
>Any ideas?  This is running on an XP machine.
>
>Thanks
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>

-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





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



Newbie help w/ORielly examples

2004-09-02 Thread John Najarian
I've tried installing the examples from the 'Java Server Pages'
book to no avail.  I expanded the jspbook3.zip file and copied
the 'ora/' directory to the 'tomcat/webapps' directory.

I restarted the tomcat service.  When I try to access the apps
by typing 'http://localhost:8080/ora/' into a browser I get the
following displayed in the browser.


HTTP Status 404 - /ora/

type Status report

message /ora/

description The requested resource (/ora/) is not available.
Apache Tomcat/5.0.19


Any ideas?  This is running on an XP machine.

Thanks



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



RE: ResultSupport class

2004-08-09 Thread John Najarian
Where is it?

-Original Message-
From: Julian [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 09, 2004 1:43 PM
To: Tomcat Users List
Subject: Re: ResultSupport class

Figured it out. Nevertheless thanks (it had driven me bonkers).


Julian wrote:
> 
> I'm a newbie and would be grateful if anyone could quickly tell me where 
> the 'ResultSupport' class  and the 'Result' now live. They used to be in 
> javax.servlet.jsp.jstl.sql.* library but don't seem to be any more.
> 
> Thanks
> Julian
> 
> -
> 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: how I can to see the output in tomcat from windows 2000

2004-07-26 Thread John Najarian
I know mine is on XP but my friend runs on 2000.
You should have an stdout.log & localhost_log...
files in the Jakarta.../logs directory.

Try doing a search under Jakarta... for files
modified today.  Perhaps you inadvertently
put it in some other directory a& maybe under
another name.

-Original Message-
From: Alberto Marino [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 26, 2004 12:52 PM
To: Tomcat Users List
Subject: Re: how I can to see the output in tomcat from windows 2000

Sorry, in mi "/logs" directory only there are "localhost_log.2004-XX-XX.txt"
files but not anyone

"Ruth, Brice" <[EMAIL PROTECTED]> wrote:There should be a logs directory in
your TOMCAT_HOME directory ... so, 
if you installed Tomcat to C:\Program Files\Apache Tomcat\ - then look 
for a "logs" directory there. You'll find the same catalina.out file and 
catalina.err file there.

Alberto Marino wrote:

>
>
> Note: forwarded message attached.
>
> 
>
> Nuevo Yahoo! Búsquedas 
> 
>
>
>
> 
>
> Subject:
> how I can to see the output in tomcat from windows 2000
> From:
> Alberto Marino 
> Date:
> Mon, 26 Jul 2004 16:57:17 +0200 (CEST)
> To:
> [EMAIL PROTECTED]
>
> To:
> [EMAIL PROTECTED]
>
>
> Hi, I would like to know how I can to see the output in tomcat for 
> depure mi aplication. In linux I can see the catalina.out in /logs 
> directory but in Windows 2000 I don´t know.
> 
> Please help me! Thanks.
>
> 
>
> Nuevo Yahoo! Búsquedas 
> 
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

-- 
Brice Ruth, Sr. IT Analyst
Fiskars Brands Inc
http://www.fiskarsbrands.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: sleepy tomcat

2004-06-18 Thread John Najarian
The CPU I never thought was a problem & the Page File should be more than
enough.  I'd look at the code but if it runs on JRun fine I don' really know.

-Original Message-
From: Yana Begun <[EMAIL PROTECTED]>
Sent: Jun 18, 2004 1:12 PM
To: Tomcat Users List <[EMAIL PROTECTED]>, 
John Najarian <[EMAIL PROTECTED]>
Subject: RE: sleepy tomcat

CPU Usage 2%   Page File Usage 380/1249 -  should be enough?


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 18, 2004 3:59 PM
To: Tomcat Users List
Subject: RE: sleepy tomcat

What else is running?  Check your page file size or just increase it.

-Original Message-
From: Yana Begun <[EMAIL PROTECTED]>
Sent: Jun 18, 2004 12:36 PM
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: RE: sleepy tomcat

But the web version with JRun works OK.

Everything runs on XP 2002 + Service Pack 1. 512MB of RAM

-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 18, 2004 3:29 PM
To: Tomcat Users List
Subject: Re: sleepy tomcat

look in your code, that is where it happens,
most likely your code is super slow, and the other requests are just
being queued until your current requests are completing.

Filip

- Original Message - 
From: "Yana Begun" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 18, 2004 2:23 PM
Subject: sleepy tomcat


Hi,

I have stand alone version of our web application running with Tomcat. 

Everything is fine, but after displaying 5-6 pages it starts to work
VERY slowly. Like 30 minutes for one page.

CPU is not busy at this moment. It seems like nothing happen or tomcat
falling asleep.

I thought that the problem is the cheap database that we use for this
version, but when I tried to connect to the MSSQL, result was the same. 

Any recommendations, what I can check or how I can test this stuff?

 

Thanks, Yana

 




-
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: sleepy tomcat

2004-06-18 Thread John Najarian
What else is running?  Check your page file size or just increase it.

-Original Message-
From: Yana Begun <[EMAIL PROTECTED]>
Sent: Jun 18, 2004 12:36 PM
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: RE: sleepy tomcat

But the web version with JRun works OK.

Everything runs on XP 2002 + Service Pack 1. 512MB of RAM

-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 18, 2004 3:29 PM
To: Tomcat Users List
Subject: Re: sleepy tomcat

look in your code, that is where it happens,
most likely your code is super slow, and the other requests are just
being queued until your current requests are completing.

Filip

- Original Message - 
From: "Yana Begun" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 18, 2004 2:23 PM
Subject: sleepy tomcat


Hi,

I have stand alone version of our web application running with Tomcat. 

Everything is fine, but after displaying 5-6 pages it starts to work
VERY slowly. Like 30 minutes for one page.

CPU is not busy at this moment. It seems like nothing happen or tomcat
falling asleep.

I thought that the problem is the cheap database that we use for this
version, but when I tried to connect to the MSSQL, result was the same. 

Any recommendations, what I can check or how I can test this stuff?

 

Thanks, Yana

 




-
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: sleepy tomcat

2004-06-18 Thread John Najarian
What's the RAM?  What platform?

-Original Message-
From: Yana Begun <[EMAIL PROTECTED]>
Sent: Jun 18, 2004 12:23 PM
To: [EMAIL PROTECTED]
Subject: sleepy tomcat

Hi,

I have stand alone version of our web application running with Tomcat. 

Everything is fine, but after displaying 5-6 pages it starts to work
VERY slowly. Like 30 minutes for one page.

CPU is not busy at this moment. It seems like nothing happen or tomcat
falling asleep.

I thought that the problem is the cheap database that we use for this
version, but when I tried to connect to the MSSQL, result was the same. 

Any recommendations, what I can check or how I can test this stuff?

 

Thanks, Yana

 



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



RE: Manager access problems

2004-05-10 Thread John Najarian
I ran into a problem accessing the manager & admin
apps.  I didn't realize you had to add users in the
Jakarta-tomcat-5.0.19/conf/tomcat-users.xml file. 

-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 10, 2004 2:22 PM
To: 'Tomcat Users List'
Subject: RE: Manager access problems

No, it's not needed. 

Anyways, why do you think you would be able to access the webapp on 
http://:8080/manager/html/?

8080 is the port tomcat listens to.  It has nothing to do with what you
define in httpd.conf.

80 is the port apache listens to.  It talks with tomcat through port 8009
you defined in workers.properties.

By default, 80 is the default port that apache uses.  

If virtual host and jk2 are working for you, you should be able to access
your webapp without defining any port.

There are a lot of good posts on port 8080 and 80.  You may want to do a
search on the archieve.

Cheers:)

-Yan

-Original Message-
From: Greg Adams [mailto:[EMAIL PROTECTED] 
Sent: May 10, 2004 14:49
To: Tomcat Users List
Subject: RE: Manager access problems


yes. Would it be helpful to post the entire httpd.conf? It's pretty long...

> Your apache listens on port 80, no?
>
> -Yan
>
> -Original Message-
> From: Greg Adams [mailto:[EMAIL PROTECTED]
> Sent: May 10, 2004 10:23
> To: [EMAIL PROTECTED]
> Subject: Manager access problems
>
>
> I've installed tomcat 5.0.19 on solaris 2.8. I've also installed jk-1.2.5
> to connect tomcat to apache 1.3.27. I'm having no problems with jk, my
> problem is when trying to access the manager application. If I access it
> on the localhost using port 8080, http://localhost:8080/manager/html/, I
> have no problem, but when I try to access it on port 8080 from another
> host, http://:8080/manager/html/, I get a "HTTP Status 403 -
> Access to the requested resource has been denied" error message. If I
> access it through the jk connector from another host,
> http:///manager/html/, I get no error message...
>
> From looking at the FAQ's and the Manager how-to, I've looked at the
> following:
>
> /conf/Catalina/localhost/manager.xml:
>

> 
>
>
>  debug="0" privileged="true">
>
>   
>type="org.apache.catalina.UserDatabase"/>
>
> 
>

>
> relevant section from httpd.conf
>

> LoadModule jk_module  libexec/mod_jk.so
> AddModule mod_jk.c
> # Configure mod_jk
> #
> JkWorkersFile conf/workers.properties
> JkLogFile logs/mod_jk.log
> JkLogLevel info
>
> # Tomcat Virtual Host
> #
> 
>   DocumentRoot /usr/local/apache/htdocs
>   ServerName yoda.ddm.apm.bpm.eds.com
>   JkMount /servlets-examples/* ajp13
>   JkMount /manager/* ajp13
> 
>

>
> workers.properties
>

> worker.list= ajp13
>
> worker.ajp13.host=yoda.ddm.apm.bpm.eds.com
> worker.ajp13.port=8009
> worker.ajp13.type=ajp13
>

>
> server.xml - I'm using the default server.xml bundled with tomcat 5.0.19
>
> Thanks for any ideas...
>
> Greg
>
> -
> 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: the requested resource is unavailable

2004-05-07 Thread John Najarian
Hi Matt,

   Maybe this will be a bit clearer.  When I start tomcat and
go to the the admin page I get promted for a username & password,
I don't recall setting one so I have no idea what to enter.

   When I try to enter the manager app I get:
HTTP Status 403 - Access to the requested resource has been denied

type Status report

message Access to the requested resource has been denied

description Access to the specified resource (Access to the requested
resource has been denied) has been forbidden.
Apache Tomcat/5.0.19

-Original Message-
From: Matt Tucker [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 07, 2004 9:34 AM
To: Tomcat Users List
Subject: Re: the requested resource is unavailable


aandthat's my problem. thanks fellas for making me see the 
depths of my own stupidity.

Matt Tucker
thoughtbot

cell: 617 775 0742
office: 617 876 4780
www.thoughtbot.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 5 - server status

2004-05-06 Thread John Najarian
Hi Matt,

 

   I can't answer your question but I'd like to ask you one.

I'm running tomcat 5.019 on XP and I can't get the admin

or manager apps to work.  Any pointers?  I did make the

changes in the readme and restarted tomcat but I've had

no success.

 

Thanks,

 

John

 

-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 06, 2004 5:11 AM
To: Tomcat Users List (E-mail)
Subject: tomcat 5 - server status

 

 

Hi, 

There seems to be some strange entries on the server status page in the
tomcat 5 manager app. 

There are the obvious request entries which are fine, then there are entries
with all question marks which I take to be unused threads but the erroneous
one seem to have an IP and a time and are in Keepalive state but they don't
have a request detailed. 

Has anyone got any idea what these are? 

Ta 
Matt 



RE: love letter?

2004-05-03 Thread John Najarian
No it isn't mine

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 03, 2004 8:46 AM
To: [EMAIL PROTECTED]
Subject: love letter?

is that yours?



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