Re: New Web Apps???

2005-10-05 Thread Mark Thomas
This question belongs on the tomcat-user list. Please read 
http://jakarta.apache.org/site/mail.html


mark



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



New Web Apps???

2005-10-05 Thread Todd_Jaspers




Hey guys,

  I'm going to apologize ahead of time for my ignorance. I'm a Delphi /
Visual Basic / Mumps programmer, and I've been asked to cram Java,
JavaScript, HTML, and whatever else into my head in 2 weeks. I'm working on
a payment posting page for the company, which includes a form, utilizing
javascript. After the javascript does it's thing to validate that all the
required fields are not black, I want to activate a servlet. This servlet
will obtain several of the values (3 values) from the original web page,
access a database local to the host, and then create a new page with some
data that it retrieves from the database (basically confirms the patient's
name).

I'm fooling around with the HELLO WORLD Servlet, and I'd like to modify it,
but I can't quite figure out exactly where I am supposed to copy NEW
servlets that I create. Where do I put them in the Tomcat directory?

The root directory we have for Apachee Tomcat is: C:\Program Files\Business
Objects\Tomcat

Where from this root folder should I copy my new compliled java classes
that I create?


Thanks, I appreciate any advice.



Todd Jaspers - Programming
Team Health, Plantation Florida
Ph: 954-377-2513


.

The information contained in this e-mail message may be privileged and
confidential. If the reader of this transmission is not the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If you have received
this communication in error or are not sure whether it is privileged,
please immediately notify us by return e-mail and delete or destroy any
copies, electronic, paper or otherwise, which you may have of this
communication and any attachments.
.


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



DO NOT REPLY [Bug 22986] New: - Web apps with context XML file don't start if CATALINA_BASE is set and absolute path is used for appBase

2003-09-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22986

Web apps with context XML file don't start if CATALINA_BASE is set and absolute path 
is used for appBase

   Summary: Web apps with context XML file don't start if
CATALINA_BASE is set and absolute path is used for
appBase
   Product: Tomcat 5
   Version: 5.0.9
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I'd like to run my own instance of Tomcat and use admin & manager apps. To avoid
coying of these apps I tried to setup CATALINA_BASE dir with conf, logs, work,
and temp dirs and set appBase to $CATALINA_HOME/webapps (the actual path - not
with the variable). This works well on Linux but fails on WinXP with following
exception:
java.io.IOException: The filename, directory name, or volume label syntax is
incorrect
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:515)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:866)
at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:529)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:399)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1135)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:792)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1127)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:502)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2311)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

the problem is that 
new File(,
"D:\\path\\to\\my\\catalina_home\\webapps").getCannonicalFile()) always throws
an exception. More accurately it fails when the child argument is absolute path.

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