Tomcat and Ultradev

2002-03-14 Thread ras

hi,

I've installed tomcat 4.1 which work fine. I've also installed UltraDev 4.0
with the jakart-taglib extension as described in the tutorial that come with
and when I restart tomcat I recieve these errors: please Help.

Using CLASSPATH:
c:\JBuilder6\jakarta-tomcat-4.0.1\bin\bootstrap.jar;c:\JBuilder6\jdk1.3.1\li
b\tools.jar
Using CATALINA_BASE: c:\JBuilder6\jakarta-tomcat-4.0.1
Using CATALINA_HOME: c:\JBuilder6\jakarta-tomcat-4.0.1
Using JAVA_HOME: c:\JBuilder6\jdk1.3.1
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
New org.apache.struts.example.User
Set org.apache.struts.example.User properties
New org.apache.struts.example.Subscription
Set org.apache.struts.example.Subscription properties
Call org.apache.struts.example.Subscription.setUser(User[username=user,
fullName=John Q. User])
Pop org.apache.struts.example.Subscription
New org.apache.struts.example.Subscription
Set org.apache.struts.example.Subscription properties
Call org.apache.struts.example.Subscription.setUser(User[username=user,
fullName=John Q. User])
Pop org.apache.struts.example.Subscription
Call org.apache.struts.example.DatabaseServlet.addUser(User[username=user,
fullName=John Q. User])
Pop org.apache.struts.example.User
register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN',
'jar:file:/c:/JBuilder6/jakarta-tomcat-4.0.1/webapps/ctlx-tutorial/WEB-INF/l
ib/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd'
resolveEntity('-//Apache Software Foundation//DTD Struts Configuration
1.0//EN', 'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd')
 Resolving to alternate DTD
'jar:file:/c:/JBuilder6/jakarta-tomcat-4.0.1/webapps/ctlx-tutorial/WEB-INF/l
ib/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd'
Parse Fatal Error at line 232 column 54: The attribute type is required in
the declaration of attribute path for element forward.
org.xml.sax.SAXParseException: The attribute type is required in the
declaration of attribute path for element forward.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHand
lerWrapper.java:232)
at
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.ja
va:213)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:36
6)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:29
6)
at org.apache.xerces.impl.XMLScanner.reportFatalError(XMLScanner.java:1244)
at
org.apache.xerces.impl.XMLDTDScannerImpl.scanAttType(XMLDTDScannerImpl.java:
1231)
at
org.apache.xerces.impl.XMLDTDScannerImpl.scanAttlistDecl(XMLDTDScannerImpl.j
ava:1088)
at
org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(XMLDTDScannerImpl.java:18
19)
at
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(XMLDTDScanner
Impl.java:295)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocu
mentScannerImpl.java:820)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.java:333)
at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:529)
at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:585)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:114
8)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:363)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:137)
at org.apache.struts.digester.Digester.parse(Digester.java:716)
at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1262)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:447)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3267)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:712)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:647)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:777)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:463)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:155)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
at 

tomcat and start error with ultradev taglib extension application

2002-03-12 Thread ras

hi,

I've a few questions, please be patient I'm not  really confident with Java
and Tomcat.

1° question why can't I start tomcat from the command line? Better said
there's two tomcat binary, the one, when you install it, you can start it
directly from a link that the installation set in the start menu.
the other binary install tomcat and then you should configure all the file.
So far I can see both binary should be able to be started from the command
line, but I installed the second one first, and when I tried to start the
startup file, like I've done with tomcat 3.1 version, it says that the most
environment variable are wrong, though the environment var are all right.
then I install the first binary, which organizes everything, so that I can
start directly from the start menu, and this works ok, but when I try to
start it from the command line I receive the same error message.

2° the second question is implicit to the first. I would like to capture the
error messages. How could  I achieve this? I use to work with a cygwin
environment, and if I can't use the console I don't know another way to do
it, and I receive some which I can't capture because they rush thru the
console.

3° I try to configure the ultradev extension for the jakarta-tag-lib, I
followed the tutorial, which is delivered with the extension, I succeed
until to the live mode of the ultradev, but when I try to call the tag lib
trees in the window user taglib I see instead a series of error message from
Catalina. I'm Walked through the user list, and seems that someone has had a
similar problem, another user sugested to execut:
http://localhost:8080/TLDParser/servlet/TLDParser?mode=ultradevprefix=strut
s I've tried this too, even though I don't  know what that ist and I recieve
this message. Please Help, many thks in advance.


°
Begin
javax.servlet.ServletException: Cannot allocate servlet instance for path
/TLDParser/servlet/TLDParser
at
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java
:415)
at
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1012)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107
)
at java.lang.Thread.run(Thread.java:484)

root cause

java.lang.VerifyError: (class: TLDParser, method: parseTLD signature:
(Ljava/io/File;)V) Incompatible object argument for function 

:::::::::PLEASE HELP WITH TOMACAT AND ULTRADEV:::::::::

2002-01-08 Thread ras

Hello,

I'm new to jsp and I'm trying to configure ultradev to work with the jsp
taglib. Up to now I've installed and worked with tomcat, for me that means
that tomcat was installed right.
I'm on train to follow the tutorial that come with the taglibs distrubution
and when I copy the *.war directory in the webapps and then place a copy of
the TLD file of  custom tag library into the TLDParser.war/tlds directory?
or the TLDParser/tlds directory when  I create it by hand,  then tomcat
does't start any more. I don't kwon what it is, I've tried many things, but
I come always to the error point again.

Pls help

Xaver




error
Description: Binary data

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


tomcat and ultadev

2002-01-03 Thread ras

Hello,

I'm new to jsp and I'm trying to configure ultradev to work with the jsp
taglib. Up to now I've installed and worked with tomcat, for me that means
that tomcat was installed right.
I'm on train to follow the tutorial that come with the taglibs distrubution
and when I copy the *.war directory in the webapps and then place a copy of
the TLD file of  custom tag library into the TLDParser.war/tlds directory?
or the TLDParser/tlds directory when  I create it by hand,  then tomcat
does't start any more. I don't kwon what it is, I've tried many things, but
I come always to the error point again.

Pls help

Xaver

PS:I've attached the messages in a file.

Sticart
Mannheimer Str.1


76334 Leopoldshafen

Tel 07247 20176
Tel 07247 963991
[EMAIL PROTECTED]



error
Description: Binary data

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]