RE: Tomcat Education

2003-07-28 Thread billfly3
Stick with XML.  Check Sun's web-site for JAX-B. Also, use Google to search for 
Castor and Zeus, both Java data binding products.
> > There are several (about a half dozen) books available 
> > for Struts right now.
> 
> To be more specific, we're using Tomcat purely as a data marshalling layer
> to push database information to the client as either CSV or XML data.  I
> haven't worked with Struts before so I'm not sure if I still have a need for
> it as I'm only working with the Model and not the View.
> 
> Also, we're working entirely with servlets so anything biased toward
> servlets would be preferred.
> 
> 
> 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: Tomcat Education

2003-07-28 Thread billfly3
Checkout these:
Mastering Tomcat Development - http://www.amazon.com/exec/obidos/tg/detail/-
/0471237647/qid=1059406030/sr=1-3/ref=sr_1_3/102-1696458-0825767?
v=glance&s=books


> Hello all,
>   I'm new to the Tomcat world and I'm desperately trying to find some
> good resources to learn from.  I bought Professional Apache Tomcat (Wrox)
> and it's decent but it's for version 3.0 or something.  I also have a
> Servlet book from O'Reilly but it doesn't help when integrating with Tomcat.
> I've spent an inordinate number of hours just trying to figure out how to
> pull DataSources using the admin tool and I still haven't figured it out.
> 
> Anybody have any resource or book ideas?  Thanks!
> 
> 
> Ben Johnson
> Senior Software Developer
>  
> Collect America, LTD.
> 1999 Broadway, Suite 2150
> Denver, CO 80202
> [p]: 303.296.3345 x124
> 
> 
> -
> 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: Servlet deployment.

2002-11-20 Thread billfly3
See the article,"Deploying Web Applications to Tomcat" at
http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html
> Hi all.
> I have worked with iPlanet and other servers but havent really
> deployed/coded for Tomcat much.
> 
> I want some expert advise on structure of tomcat applications.
> I have the current structure :-
> 
> webapps/examples/jsp has default examples.
> 
> I started my project say  projectA like this
> 
> webapps/examples/projectA
> 
>  I want to ideally take it 1 level up to webapps/projectA. This would  make
> me do some context settings in some xml files. Which all and how ?
> 
> The jsp page came up instantly on
> http://localhost:8080/examples/ProjectA/index.jsp
> 
> ==
> 
> Now I have written a servlet  Router.java, how do I get the  jsp above to
> submit to this java program. Where do I put the java program in a project
> structure in Tomcat and what changes do I make. I tried changing the
> web.xml  (url patterm etc) in webapps\examples\WEB-INF\web.xml but I didnt
> know  how tomcat does this.
> So coudl someone tell me where I would get an example of how to configure
> the xml files to MAP the servlet I write for tomcat.
> 
> Thanks all
> 
> Tript Singh
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: stderr.log and stdout.log

2002-11-20 Thread billfly3
Consider log4j at the jakarta.apache.org web site.
Bill
> 
> Hi,
> 
> I would like to configure the Tomcat 4.0.4 (OpenVMS 7.3-1 port) so that it will 
> create the stderr.log and stdout.log in the logs directory.  So that I can 
> capture all the debug information by using System.out.println().  Is there a way 
> to do that?  I got these log files create for Tomcat 4.0.3 on Windows 
> automatically.  But I can't find a way to configure it.
> 
> Thanks in advance.
> 
> Chiming
> 
> 
> 
> -
> Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread billfly3
John,
The manager install and reload finctions work fine on 4.0.4 running on an 
AS/400 with a windows client.  Your URL format looks correct and like the one I 
used.  It took me a few trial and errors to get the format correct.
Bill
> 
> Hello -
> 
> I've setup 4.1.12 on Solaris 8.  
> 
> I've given access to the manager app to my users.  They are all using the
> same user account and password in tomcat-users.xml for now, though that will
> change once I get more experience using the security roles system.
> 
> Do my users need system-level user accounts in order to use the Tomcat
> manager app?  Do WAR files need to be copied to the server prior to trying
> to deploy them using the Manager app?I'm trying to use a Manager URL
> like this to install a WAR file:
> 
> http://galeron.aas.com:8080/manager/install?path=/myApp&war=file:C:/path/to/
> myApp.war
> 
> This returns an error message that says:
> 
> "FAIL - Encountered exception java.io.IOException:
> java.lang.IllegalArgumentException: Doc base must point to a WAR file"
> 
> I've got a whole bunch of Microsoft VB coders learning JSP and Java, and I'd
> really like to avoid having to set all of them up as users on my server, and
> teach them about command lines, FTP, etc.  It was my understanding that they
> would be able to use the Manager app to deploy their WAR files as needed via
> a web browser.  Is this not the case?
> 
> Assume this scenario:
> 
> - they should be able to access their apps on
> http://some.server.name/someApp
> - they should be able to use the Manager app to deploy as needed
> - their application WAR files exist on Windows 2000 Pro machines
> 
> That said, can someone provide me with an example of how to deploy
> someApp.war from a Windows 2000 machine to a Tomcat server using only the
> Manager app?  Can this even be done?
> 
> Specifically, I would like to know, for the scenario above, how I would fill
> in the three text boxes on the page at
> http://galeron.aas.com:8080/manager/html/list which are labeled "Path",
> "Config URL", and "WAR URL".  As it stands right now, I would think it would
> be:
> 
> Path = /someApp
> Config URL = I have no idea
> WAR URL = C:\some\path\to\war\file\on\Win2K
> 
> Any help is appreciated...and I guarantee the docs will get updated once I
> figure this out, as they haven't helped me any so far!
> 
> - John
> 
> 
> John Turner
> [EMAIL PROTECTED] | 248-488-3466
> Advertising Audit Service
> http://www.aas.com
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Shutting down and restarting Tomcat

2002-11-07 Thread billfly3
Look at the Manager application in the Tomcat documentation.  It will allow you 
to deploy, redeploy, and restart a single application, rather than the entire 
Tomcat instance.  These operations take a matter of seconds.
> I need to shutdown and then restart tomcat repeatedly for my 
> testing purposes. I am using a Windows batch file which will call 
> shutdown.bat and startup.bat. But each time Tomcat did not 
> restart. Is there any better way of doing this?
> 
> Thanks
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Reload Servlets/Classes

2002-10-08 Thread billfly3

http://localhost:8080/manager/reload?path=/

will reload an application.  You must be set up as as a 
role of manager in the users.xml file. See 
the .../webapps/tomcat-docs/manager-howto.html for more 
information.
> 
> Sorry if this has been asked before, but when working in a development
> environment, how can I reload newly compiled classes w/o restarting the
> tomcat server?
> 
> Thanks,
> CC
> 
> 
> --
> This message contains confidential information and is intended only for
> the individual named. If you are not the named addressee you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately by e-mail if you have received this e-mail by mistake and
> delete this e-mail from your system. E-mail transmission cannot be
> guaranteed to be secure or error-free as information could be
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
> contain viruses. The sender therefore does not accept liability for any
> errors or omissions in the contents of this message, which arise as a
> result of e-mail transmission. If verification is required please
> request a hard-copy version. 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: