Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Ganamede, Galileo, and Tomcat 6
Ganamede, Galileo, and Tomcat 6 [message #233233] Thu, 02 July 2009 18:57 Go to next message
Dan Thurman is currently offline Dan ThurmanFriend
Messages: 57
Registered: July 2009
Member
I have successfully used Tomcat before so I am not
a total noob, just a semi/advanced-noob, perhaps. ;)

Lately however, I have "all of a sudden" lost
my tomcat connectivity with Eclipse on a Fedora
Linux distro.

It seems, that all of my problems started after
I downloaded, installed, and ran Eclipse Galileo,
having previously used Ganemede SR2, which no longer
works nor does Galileo.

There are several problems that showed up, but
the most significant error that I ran into was
that the Tomcat server could not start since
it could not locate tomcat-juli.jar file.

The error reported is:
==========================================
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/
logging/LogFactory
at org.apache.catalina.startup.Bootstrap.<clinit>
(Bootstrap.java:54)
Caused by: java.lang.ClassNotFoundException:
org.apache.juli.logging.LogFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294 )
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336 )
... 1 more
==========================================

So, at this point, I have looked into the Tomcat
Server Launch configuration (double-clicked the tomcat6
server in the Servers tab, then clicked in "Overview",
the link: "Open launch configuration",) and clicked the
Classpath tab, and noted the following entries:

==================================================
Bootstrap Entries:
+ JRE System Libraries [java-1.6.0-openjdk-1.6.0.0]

User Entries:
+ bootstrap.jar - /usr/share/tomcat6/bin
+ tools.jar - /usr/lib/vm/java-1.6.0-openjdk-1.6.0.0/lib/
==================================================

The above configuration used to work, but now it does not,
the Tomcat server fails to start. I guess, "something"
has changed...

Scratching my head, I added to the above list, under
the User Entries of Classpath:
===================================================
+ commons-logging.jar - /usr/share/tomcat6/bin
+ tomcat-juli.jar - /usr/share/tomcat6/bin
===================================================

The tomcat server now runs, however, the applications
will not run:

HTTP Status 404 - /WebDbTest/
=============================
type: Status report
message: /WebDbTest/
description: The requested resource (/WebDbTest/) is not available.
=============================

Since I am trying to resolve the tomcat issue,
I have as a test created a new dynamic web
application with a simple index.jsp file:

1) Created a new 'Dynamic Web Application': 'Hello'
2) Created a new index.jsp file under Webcontent->WEB-INF
and changed the title to "Hello World" and added
"Hello World" to the <body> and saved the changes.
3) Clicked "Run As", selected "Run on server"
and the server started, but the web-browser displayed
a HTTP 404 error, similarly as before but with 'Hello'
application.


Can anyone offer any suggestions what I can do to resolve
this issue?

Kind regards!
Dan
Re: Ganamede, Galileo, and Tomcat 6 [message #233241 is a reply to message #233233] Thu, 02 July 2009 19:20 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Dan Thurman wrote:
> I have successfully used Tomcat before so I am not
> a total noob, just a semi/advanced-noob, perhaps. ;)
>
> Lately however, I have "all of a sudden" lost
> my tomcat connectivity with Eclipse on a Fedora
> Linux distro.
>
> It seems, that all of my problems started after
> I downloaded, installed, and ran Eclipse Galileo,
> having previously used Ganemede SR2, which no longer
> works nor does Galileo.
>
> There are several problems that showed up, but
> the most significant error that I ran into was
> that the Tomcat server could not start since
> it could not locate tomcat-juli.jar file.
>
> The error reported is:
> ==========================================
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/
> logging/LogFactory
> at org.apache.catalina.startup.Bootstrap.<clinit>
> (Bootstrap.java:54)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.juli.logging.LogFactory
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294 )
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336 )
> ... 1 more
> ==========================================
>
> So, at this point, I have looked into the Tomcat
> Server Launch configuration (double-clicked the tomcat6
> server in the Servers tab, then clicked in "Overview",
> the link: "Open launch configuration",) and clicked the
> Classpath tab, and noted the following entries:
>
> ==================================================
> Bootstrap Entries:
> + JRE System Libraries [java-1.6.0-openjdk-1.6.0.0]
>
> User Entries:
> + bootstrap.jar - /usr/share/tomcat6/bin
> + tools.jar - /usr/lib/vm/java-1.6.0-openjdk-1.6.0.0/lib/
> ==================================================
>
> The above configuration used to work, but now it does not,
> the Tomcat server fails to start. I guess, "something"
> has changed...

It looks like you have addressed the issue described in the 4th
paragraph (starts with "Another use case...") of:

http://wiki.eclipse.org/WTP_Tomcat_FAQ#What_does_it_mean_if_ WTP_says_my_server_.22failed_to_start.22.3F

This is not unusual for a packaged Linux install. Using a binary
download from Apache shouldn't have this problem.

>
> Scratching my head, I added to the above list, under
> the User Entries of Classpath:
> ===================================================
> + commons-logging.jar - /usr/share/tomcat6/bin
> + tomcat-juli.jar - /usr/share/tomcat6/bin
> ===================================================
>
> The tomcat server now runs, however, the applications
> will not run:
>
> HTTP Status 404 - /WebDbTest/
> =============================
> type: Status report
> message: /WebDbTest/
> description: The requested resource (/WebDbTest/) is not available.
> =============================

This may not indicate a problem. By default, current Tomcats return 404
for a URL ending with "/" when no welcome file is found since directory
listings are disabled by default for security reasons.

>
> Since I am trying to resolve the tomcat issue,
> I have as a test created a new dynamic web
> application with a simple index.jsp file:
>
> 1) Created a new 'Dynamic Web Application': 'Hello'
> 2) Created a new index.jsp file under Webcontent->WEB-INF
> and changed the title to "Hello World" and added
> "Hello World" to the <body> and saved the changes.
> 3) Clicked "Run As", selected "Run on server"
> and the server started, but the web-browser displayed
> a HTTP 404 error, similarly as before but with 'Hello'
> application.

Did you really put the index.jsp in WEB-INF? The servlet spec forbids
servers to directly serve WEB-INF content to browsers. You have to
forward to such JSP pages to access them. The index.jsp will should
work as expected if placed in the WebContent folder.

Cheers,
Larry

>
>
> Can anyone offer any suggestions what I can do to resolve
> this issue?
>
> Kind regards!
> Dan
Re: Ganamede, Galileo, and Tomcat 6 [message #233264 is a reply to message #233241] Fri, 03 July 2009 03:01 Go to previous messageGo to next message
Dan Thurman is currently offline Dan ThurmanFriend
Messages: 57
Registered: July 2009
Member
On Thu, 02 Jul 2009 15:20:27 -0400, Larry Isaacs wrote:

> Dan Thurman wrote:
>> I have successfully used Tomcat before so I am not a total noob, just a
>> semi/advanced-noob, perhaps. ;)
>>
>> Lately however, I have "all of a sudden" lost my tomcat connectivity
>> with Eclipse on a Fedora Linux distro.
>>
>> It seems, that all of my problems started after I downloaded,
>> installed, and ran Eclipse Galileo, having previously used Ganemede
>> SR2, which no longer works nor does Galileo.
>>
>> There are several problems that showed up, but the most significant
>> error that I ran into was that the Tomcat server could not start since
>> it could not locate tomcat-juli.jar file.
>>
>> The error reported is:
>> ========================================== Exception in thread "main"
>> java.lang.NoClassDefFoundError: org/apache/juli/ logging/LogFactory
>> at org.apache.catalina.startup.Bootstrap.<clinit>
>> (Bootstrap.java:54)
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.juli.logging.LogFactory
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at
>> java.security.AccessController.doPrivileged(Native Method) at
>> java.net.URLClassLoader.findClass(URLClassLoader.java:205) at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:323) at
>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294 ) at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:268) at
>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336 ) ... 1
>> more
>> ==========================================
>>
>> So, at this point, I have looked into the Tomcat Server Launch
>> configuration (double-clicked the tomcat6 server in the Servers tab,
>> then clicked in "Overview", the link: "Open launch configuration",) and
>> clicked the Classpath tab, and noted the following entries:
>>
>> ================================================== Bootstrap Entries:
>> + JRE System Libraries [java-1.6.0-openjdk-1.6.0.0]
>>
>> User Entries:
>> + bootstrap.jar - /usr/share/tomcat6/bin + tools.jar -
>> /usr/lib/vm/java-1.6.0-openjdk-1.6.0.0/lib/
>> ==================================================
>>
>> The above configuration used to work, but now it does not, the Tomcat
>> server fails to start. I guess, "something" has changed...
>
> It looks like you have addressed the issue described in the 4th
> paragraph (starts with "Another use case...") of:
>
> http://wiki.eclipse.org/
WTP_Tomcat_FAQ#What_does_it_mean_if_WTP_says_my_server_.22fa iled_to_start.22.3F
>
> This is not unusual for a packaged Linux install. Using a binary
> download from Apache shouldn't have this problem.

So... are you saying that for Fedora, I have to add the two
missing jars in order to fix this problem? If so, why did it
work with Ganamede (i.e. I did not have to add the two "missing"
jars as it *seemed* to work before)? Well, in any case adding
the two missing jars seems to fix things for Fedora.

>
>
>> Scratching my head, I added to the above list, under the User Entries
>> of Classpath:
>> ===================================================
>> + commons-logging.jar - /usr/share/tomcat6/bin + tomcat-juli.jar -
>> /usr/share/tomcat6/bin
>> ===================================================
>>
>> The tomcat server now runs, however, the applications will not run:
>>
>> HTTP Status 404 - /WebDbTest/
>> =============================
>> type: Status report
>> message: /WebDbTest/
>> description: The requested resource (/WebDbTest/) is not available.
>> =============================
>
> This may not indicate a problem. By default, current Tomcats return 404
> for a URL ending with "/" when no welcome file is found since directory
> listings are disabled by default for security reasons.

Yup... because I put the index.jsp in the wrong place...
as you explained further down...

>
>
>> Since I am trying to resolve the tomcat issue, I have as a test created
>> a new dynamic web application with a simple index.jsp file:
>>
>> 1) Created a new 'Dynamic Web Application': 'Hello' 2) Created a new
>> index.jsp file under Webcontent->WEB-INF
>> and changed the title to "Hello World" and added "Hello World" to
>> the <body> and saved the changes.
>> 3) Clicked "Run As", selected "Run on server"
>> and the server started, but the web-browser displayed a HTTP 404
>> error, similarly as before but with 'Hello' application.
>
> Did you really put the index.jsp in WEB-INF? The servlet spec forbids
> servers to directly serve WEB-INF content to browsers. You have to
> forward to such JSP pages to access them. The index.jsp will should
> work as expected if placed in the WebContent folder.

Yup! You are RIGHT! I am really blind, ahh! Moving the
application files to WebContent solved this problem!

Many thanks for responding and now I can proceed happily!

>
> Cheers,
> Larry
>
>
>>
>> Can anyone offer any suggestions what I can do to resolve this issue?
>>
>> Kind regards!
>> Dan
Re: Ganamede, Galileo, and Tomcat 6 [message #233289 is a reply to message #233233] Sat, 04 July 2009 17:06 Go to previous messageGo to next message
Dan Thurman is currently offline Dan ThurmanFriend
Messages: 57
Registered: July 2009
Member
On Thu, 02 Jul 2009 18:57:04 +0000, Dan Thurman wrote:

> I have successfully used Tomcat before so I am not a total noob, just a
> semi/advanced-noob, perhaps. ;)
>
> Lately however, I have "all of a sudden" lost my tomcat connectivity
> with Eclipse on a Fedora Linux distro.
>
> It seems, that all of my problems started after I downloaded, installed,
> and ran Eclipse Galileo, having previously used Ganemede SR2, which no
> longer works nor does Galileo.
>
> There are several problems that showed up, but the most significant
> error that I ran into was that the Tomcat server could not start since
> it could not locate tomcat-juli.jar file.
>
> The error reported is:
> ========================================== Exception in thread "main"
> java.lang.NoClassDefFoundError: org/apache/juli/ logging/LogFactory
> at org.apache.catalina.startup.Bootstrap.<clinit>
> (Bootstrap.java:54)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.juli.logging.LogFactory
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at
> java.security.AccessController.doPrivileged(Native Method) at
> java.net.URLClassLoader.findClass(URLClassLoader.java:205) at
> java.lang.ClassLoader.loadClass(ClassLoader.java:323) at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294 ) at
> java.lang.ClassLoader.loadClass(ClassLoader.java:268) at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336 ) ... 1
> more
> ==========================================
>
> So, at this point, I have looked into the Tomcat Server Launch
> configuration (double-clicked the tomcat6 server in the Servers tab,
> then clicked in "Overview", the link: "Open launch configuration",) and
> clicked the Classpath tab, and noted the following entries:
>
> ================================================== Bootstrap Entries:
> + JRE System Libraries [java-1.6.0-openjdk-1.6.0.0]
>
> User Entries:
> + bootstrap.jar - /usr/share/tomcat6/bin + tools.jar -
> /usr/lib/vm/java-1.6.0-openjdk-1.6.0.0/lib/
> ==================================================
>
> The above configuration used to work, but now it does not, the Tomcat
> server fails to start. I guess, "something" has changed...
>
> Scratching my head, I added to the above list, under the User Entries of
> Classpath:
> ===================================================
> + commons-logging.jar - /usr/share/tomcat6/bin + tomcat-juli.jar -
> /usr/share/tomcat6/bin
> ===================================================
>
> The tomcat server now runs, however, the applications will not run:
>
> HTTP Status 404 - /WebDbTest/
> =============================
> type: Status report
> message: /WebDbTest/
> description: The requested resource (/WebDbTest/) is not available.
> =============================
>
> Since I am trying to resolve the tomcat issue, I have as a test created
> a new dynamic web application with a simple index.jsp file:
>
> 1) Created a new 'Dynamic Web Application': 'Hello' 2) Created a new
> index.jsp file under Webcontent->WEB-INF
> and changed the title to "Hello World" and added "Hello World" to the
> <body> and saved the changes.
> 3) Clicked "Run As", selected "Run on server"
> and the server started, but the web-browser displayed a HTTP 404
> error, similarly as before but with 'Hello' application.
>
>
> Can anyone offer any suggestions what I can do to resolve this issue?
>
> Kind regards!
> Dan

The above for Ganamede is resolved:
(1) Add two missing jar files to server classpath: commons-logging.jar
& tomcat-juli.jar
(2) Move the web-application under Webcontents, not WEB-INF

and it works.

However, the same project does not run in
Galileo. Seems that there is an invoker issue
in the application's web.xml file. Why does
the same application work in Ganamede but not
in Galileo since both are using tomcat6. Is
there something different in the way Galileo
works?

Please note, however, that tomcat6 server does
run in Galileo, but the application fails
to start/run due to a 404 - status error...
and I checked to ensure that the index.jsp
file is under the Webcontext directory as
I goofed earlier...

I wonder if under Galileo, we now have to add
invoker rules manually in order for the application
to run, i.e. it is not longer done automatically,
and if so, how does this differ under Ganamede?

Anyway, here are the errors:
===============================================
[...]
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.tomcat.util.IntrospectionUtils.callMethodN
(IntrospectionUtils.java:953)
at org.apache.catalina.startup.CallMethodMultiRule.end
(WebRuleSet.java:789)
at org.apache.tomcat.util.digester.Rule.end(Rule.java:229)
at org.apache.tomcat.util.digester.Digester.endElement
(Digester.java:1140)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .endElement
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl
$FragmentContentDriver.next(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse
(Digester.java:1644)
at
org.apache.catalina.startup.ContextConfig.processDefaultWebC onfig
(ContextConfig.java:687)
at org.apache.catalina.startup.ContextConfig.defaultWebConfig
(ContextConfig.java:624)
at org.apache.catalina.startup.ContextConfig.start
(ContextConfig.java:1065)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent
(ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:117)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4252)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start
(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)

Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies
an unknown servlet name invoker
at org.apache.catalina.core.StandardContext.addServletMapping
(StandardContext.java:2393)
at org.apache.catalina.core.StandardContext.addServletMapping
(StandardContext.java:2373)
... 38 more
Jul 4, 2009 8:44:23 AM org.apache.catalina.startup.ContextConfig
processDefaultWebConfig


SEVERE: Parse error in default web.xml
java.lang.IllegalArgumentException: Servlet mapping specifies an unknown
servlet name invoker
at org.apache.tomcat.util.digester.Digester.createSAXException
(Digester.java:2808)
at org.apache.tomcat.util.digester.Digester.createSAXException
(Digester.java:2834)
at org.apache.tomcat.util.digester.Digester.endElement
(Digester.java:1143)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .endElement
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl
$FragmentContentDriver.next(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse
(Digester.java:1644)
at
org.apache.catalina.startup.ContextConfig.processDefaultWebC onfig
(ContextConfig.java:687)
at org.apache.catalina.startup.ContextConfig.defaultWebConfig
(ContextConfig.java:624)
at org.apache.catalina.startup.ContextConfig.start
(ContextConfig.java:1065)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent
(ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:117)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4252)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start
(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
Jul 4, 2009 8:44:23 AM org.apache.catalina.startup.ContextConfig
processDefaultWebConfig

SEVERE: Occurred at line 365 column 23
Jul 4, 2009 8:44:23 AM org.apache.catalina.startup.ContextConfig start

SEVERE: Marking this application unavailable due to previous error(s)
Jul 4, 2009 8:44:23 AM org.apache.catalina.core.StandardContext start

SEVERE: Error getConfigured
Jul 4, 2009 8:44:23 AM org.apache.catalina.core.StandardContext start

SEVERE: Context [] startup failed due to previous errors
Jul 4, 2009 8:44:24 AM org.apache.tomcat.util.digester.Digester endElement

SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.tomcat.util.IntrospectionUtils.callMethodN
(IntrospectionUtils.java:953)
at org.apache.catalina.startup.CallMethodMultiRule.end
(WebRuleSet.java:789)
at org.apache.tomcat.util.digester.Rule.end(Rule.java:229)
at org.apache.tomcat.util.digester.Digester.endElement
(Digester.java:1140)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .endElement
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl
$FragmentContentDriver.next(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse
(Digester.java:1644)
at
org.apache.catalina.startup.ContextConfig.processDefaultWebC onfig
(ContextConfig.java:687)
at org.apache.catalina.startup.ContextConfig.defaultWebConfig
(ContextConfig.java:624)
at org.apache.catalina.startup.ContextConfig.start
(ContextConfig.java:1065)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent
(ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:117)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4252)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start
(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies
an unknown servlet name invoker
at org.apache.catalina.core.StandardContext.addServletMapping
(StandardContext.java:2393)
at org.apache.catalina.core.StandardContext.addServletMapping
(StandardContext.java:2373)
... 38 more
Jul 4, 2009 8:44:24 AM org.apache.catalina.startup.ContextConfig
processDefaultWebConfig

SEVERE: Parse error in default web.xml
java.lang.IllegalArgumentException: Servlet mapping specifies an unknown
servlet name invoker
at org.apache.tomcat.util.digester.Digester.createSAXException
(Digester.java:2808)
at org.apache.tomcat.util.digester.Digester.createSAXException
(Digester.java:2834)
at org.apache.tomcat.util.digester.Digester.endElement
(Digester.java:1143)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .endElement
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl
$FragmentContentDriver.next(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse
(Digester.java:1644)
at
org.apache.catalina.startup.ContextConfig.processDefaultWebC onfig
(ContextConfig.java:687)
at org.apache.catalina.startup.ContextConfig.defaultWebConfig
(ContextConfig.java:624)
at org.apache.catalina.startup.ContextConfig.start
(ContextConfig.java:1065)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent
(ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:117)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4252)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start
(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
Jul 4, 2009 8:44:24 AM org.apache.catalina.startup.ContextConfig
processDefaultWebConfig

SEVERE: Occurred at line 365 column 23
Jul 4, 2009 8:44:24 AM org.apache.catalina.startup.ContextConfig start

SEVERE: Marking this application unavailable due to previous error(s)
Jul 4, 2009 8:44:24 AM org.apache.catalina.core.StandardContext start

SEVERE: Error getConfigured
Jul 4, 2009 8:44:24 AM org.apache.catalina.core.StandardContext start

SEVERE: Context [/WebDbSearch1] startup failed due to previous errors
Jul 4, 2009 8:44:24 AM org.apache.tomcat.util.digester.Digester endElement

SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.tomcat.util.IntrospectionUtils.callMethodN
(IntrospectionUtils.java:953)
at org.apache.catalina.startup.CallMethodMultiRule.end
(WebRuleSet.java:789)
at org.apache.tomcat.util.digester.Rule.end(Rule.java:229)
at org.apache.tomcat.util.digester.Digester.endElement
(Digester.java:1140)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .endElement
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl
$FragmentContentDriver.next(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse
(Digester.java:1644)
at
org.apache.catalina.startup.ContextConfig.processDefaultWebC onfig
(ContextConfig.java:687)
at org.apache.catalina.startup.ContextConfig.defaultWebConfig
(ContextConfig.java:624)
at org.apache.catalina.startup.ContextConfig.start
(ContextConfig.java:1065)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent
(ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:117)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4252)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start
(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies
an unknown servlet name invoker
at org.apache.catalina.core.StandardContext.addServletMapping
(StandardContext.java:2393)
at org.apache.catalina.core.StandardContext.addServletMapping
(StandardContext.java:2373)
... 38 more
Jul 4, 2009 8:44:24 AM org.apache.catalina.startup.ContextConfig
processDefaultWebConfig

SEVERE: Parse error in default web.xml
java.lang.IllegalArgumentException: Servlet mapping specifies an unknown
servlet name invoker
at org.apache.tomcat.util.digester.Digester.createSAXException
(Digester.java:2808)
at org.apache.tomcat.util.digester.Digester.createSAXException
(Digester.java:2834)
at org.apache.tomcat.util.digester.Digester.endElement
(Digester.java:1143)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .endElement
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl
$FragmentContentDriver.next(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next
(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse
(Digester.java:1644)
at
org.apache.catalina.startup.ContextConfig.processDefaultWebC onfig
(ContextConfig.java:687)
at org.apache.catalina.startup.ContextConfig.defaultWebConfig
(ContextConfig.java:624)
at org.apache.catalina.startup.ContextConfig.start
(ContextConfig.java:1065)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent
(ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:117)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4252)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start
(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
Jul 4, 2009 8:44:24 AM org.apache.catalina.startup.ContextConfig
processDefaultWebConfig

SEVERE: Occurred at line 365 column 23
Jul 4, 2009 8:44:24 AM org.apache.catalina.startup.ContextConfig start

SEVERE: Marking this application unavailable due to previous error(s)
Jul 4, 2009 8:44:24 AM org.apache.catalina.core.StandardContext start

SEVERE: Error getConfigured
Jul 4, 2009 8:44:24 AM org.apache.catalina.core.StandardContext start

SEVERE: Context [/WebDb1] startup failed due to previous errors
Jul 4, 2009 8:44:24 AM org.apache.coyote.http11.Http11AprProtocol start

INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 4, 2009 8:44:24 AM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Jul 4, 2009 8:44:24 AM org.apache.catalina.startup.Catalina start

INFO: Server startup in 1064 ms
===============================================
Re: Ganamede, Galileo, and Tomcat 6 [message #233299 is a reply to message #233289] Sat, 04 July 2009 18:30 Go to previous messageGo to next message
Dan Thurman is currently offline Dan ThurmanFriend
Messages: 57
Registered: July 2009
Member
On Sat, 04 Jul 2009 17:06:57 +0000, Dan Thurman wrote:

> On Thu, 02 Jul 2009 18:57:04 +0000, Dan Thurman wrote:
>
>> I have successfully used Tomcat before so I am not a total noob, just a
>> semi/advanced-noob, perhaps. ;)
>>
>> Lately however, I have "all of a sudden" lost my tomcat connectivity
>> with Eclipse on a Fedora Linux distro.
>>
>> It seems, that all of my problems started after I downloaded,
>> installed, and ran Eclipse Galileo, having previously used Ganemede
>> SR2, which no longer works nor does Galileo.
>>
>> There are several problems that showed up, but the most significant
>> error that I ran into was that the Tomcat server could not start since
>> it could not locate tomcat-juli.jar file.
>>
>> The error reported is:
>> ========================================== Exception in thread "main"
>> java.lang.NoClassDefFoundError: org/apache/juli/ logging/LogFactory
>> at org.apache.catalina.startup.Bootstrap.<clinit>
>> (Bootstrap.java:54)
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.juli.logging.LogFactory
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at
>> java.security.AccessController.doPrivileged(Native Method) at
>> java.net.URLClassLoader.findClass(URLClassLoader.java:205) at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:323) at
>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294 ) at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:268) at
>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336 ) ... 1
>> more
>> ==========================================
>>
>> So, at this point, I have looked into the Tomcat Server Launch
>> configuration (double-clicked the tomcat6 server in the Servers tab,
>> then clicked in "Overview", the link: "Open launch configuration",) and
>> clicked the Classpath tab, and noted the following entries:
>>
>> ================================================== Bootstrap Entries:
>> + JRE System Libraries [java-1.6.0-openjdk-1.6.0.0]
>>
>> User Entries:
>> + bootstrap.jar - /usr/share/tomcat6/bin + tools.jar -
>> /usr/lib/vm/java-1.6.0-openjdk-1.6.0.0/lib/
>> ==================================================
>>
>> The above configuration used to work, but now it does not, the Tomcat
>> server fails to start. I guess, "something" has changed...
>>
>> Scratching my head, I added to the above list, under the User Entries
>> of Classpath:
>> ===================================================
>> + commons-logging.jar - /usr/share/tomcat6/bin + tomcat-juli.jar -
>> /usr/share/tomcat6/bin
>> ===================================================
>>
>> The tomcat server now runs, however, the applications will not run:
>>
>> HTTP Status 404 - /WebDbTest/
>> =============================
>> type: Status report
>> message: /WebDbTest/
>> description: The requested resource (/WebDbTest/) is not available.
>> =============================
>>
>> Since I am trying to resolve the tomcat issue, I have as a test created
>> a new dynamic web application with a simple index.jsp file:
>>
>> 1) Created a new 'Dynamic Web Application': 'Hello' 2) Created a new
>> index.jsp file under Webcontent->WEB-INF
>> and changed the title to "Hello World" and added "Hello World" to
>> the <body> and saved the changes.
>> 3) Clicked "Run As", selected "Run on server"
>> and the server started, but the web-browser displayed a HTTP 404
>> error, similarly as before but with 'Hello' application.
>>
>>
>> Can anyone offer any suggestions what I can do to resolve this issue?
>>
>> Kind regards!
>> Dan
>
> The above for Ganamede is resolved:
> (1) Add two missing jar files to server classpath: commons-logging.jar
> & tomcat-juli.jar
> (2) Move the web-application under Webcontents, not WEB-INF
>
> and it works.
>
> However, the same project does not run in Galileo. Seems that there is
> an invoker issue in the application's web.xml file. Why does the same
> application work in Ganamede but not in Galileo since both are using
> tomcat6. Is there something different in the way Galileo works?
>
> Please note, however, that tomcat6 server does run in Galileo, but the
> application fails to start/run due to a 404 - status error... and I
> checked to ensure that the index.jsp file is under the Webcontext
> directory as I goofed earlier...
>
> I wonder if under Galileo, we now have to add invoker rules manually in
> order for the application to run, i.e. it is not longer done
> automatically, and if so, how does this differ under Ganamede?
>
> Anyway, here are the errors:
> =============================================== [...]
> SEVERE: End event threw exception
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616) at
> org.apache.tomcat.util.IntrospectionUtils.callMethodN
> (IntrospectionUtils.java:953)
> at org.apache.catalina.startup.CallMethodMultiRule.end
> (WebRuleSet.java:789)
> at org.apache.tomcat.util.digester.Rule.end(Rule.java:229) at
> org.apache.tomcat.util.digester.Digester.endElement
> (Digester.java:1140)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .endElement
> (Unknown Source)
> at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl
> $FragmentContentDriver.next(Unknown Source)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next
> (Unknown Source)
> at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
> (Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse
(Unknown
> Source)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
> $JAXPSAXParser.parse(Unknown Source)
> at org.apache.tomcat.util.digester.Digester.parse
> (Digester.java:1644)
> at
> org.apache.catalina.startup.ContextConfig.processDefaultWebC onfig
> (ContextConfig.java:687)
> at org.apache.catalina.startup.ContextConfig.defaultWebConfig
> (ContextConfig.java:624)
> at org.apache.catalina.startup.ContextConfig.start
> (ContextConfig.java:1065)
> at org.apache.catalina.startup.ContextConfig.lifecycleEvent
> (ContextConfig.java:261)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> (LifecycleSupport.java:117)
> at org.apache.catalina.core.StandardContext.start
> (StandardContext.java:4252)
> at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1045)
> at org.apache.catalina.core.StandardHost.start
> (StandardHost.java:719)
> at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1045)
> at org.apache.catalina.core.StandardEngine.start
> (StandardEngine.java:443)
> at org.apache.catalina.core.StandardService.start
> (StandardService.java:516)
> at org.apache.catalina.core.StandardServer.start
> (StandardServer.java:710)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:578 ) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616) at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88) at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
>
> Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies
> an unknown servlet name invoker
> at org.apache.catalina.core.StandardContext.addServletMapping
> (StandardContext.java:2393)
> at org.apache.catalina.core.StandardContext.addServletMapping
> (StandardContext.java:2373)
> ... 38 more
> Jul 4, 2009 8:44:23 AM org.apache.catalina.startup.ContextConfig
> processDefaultWebConfig
>
>
> SEVERE: Parse error in default web.xml
> java.lang.IllegalArgumentException: Servlet mapping specifies an unknown
> servlet name invoker
> at org.apache.tomcat.util.digester.Digester.createSAXException
> (Digester.java:2808)
> at org.apache.tomcat.util.digester.Digester.createSAXException
> (Digester.java:2834)
> at org.apache.tomcat.util.digester.Digester.endElement
> (Digester.java:1143)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .endElement
> (Unknown Source)
> at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl
> $FragmentContentDriver.next(Unknown Source)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next
> (Unknown Source)
> at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
> (Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse
(Unknown
> Source)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
> $JAXPSAXParser.parse(Unknown Source)
> at org.apache.tomcat.util.digester.Digester.parse
> (Digester.java:1644)
> at
> org.apache.catalina.startup.ContextConfig.processDefaultWebC onfig
> (ContextConfig.java:687)
> at org.apache.catalina.startup.ContextConfig.defaultWebConfig
> (ContextConfig.java:624)
> at org.apache.catalina.startup.ContextConfig.start
> (ContextConfig.java:1065)
> at org.apache.catalina.startup.ContextConfig.lifecycleEvent
> (ContextConfig.java:261)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> (LifecycleSupport.java:117)
> at org.apache.catalina.core.StandardContext.start
> (StandardContext.java:4252)
> at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1045)
> at org.apache.catalina.core.StandardHost.start
> (StandardHost.java:719)
> at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1045)
> at org.apache.catalina.core.StandardEngine.start
> (StandardEngine.java:443)
> at org.apache.catalina.core.StandardService.start
> (StandardService.java:516)
> at org.apache.catalina.core.StandardServer.start
> (StandardServer.java:710)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:578 ) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616) at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88) at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
> Jul 4, 2009 8:44:23 AM org.apache.catalina.startup.ContextConfig
> processDefaultWebConfig
>
> SEVERE: Occurred at line 365 column 23 Jul 4, 2009 8:44:23 AM
> org.apache.catalina.startup.ContextConfig start
>
> SEVERE: Marking this application unavailable due to previous error(s)
> Jul 4, 2009 8:44:23 AM org.apache.catalina.core.StandardContext start
>
> SEVERE: Error getConfigured
> Jul 4, 2009 8:44:23 AM org.apache.catalina.core.StandardContext start
>
> SEVERE: Context [] startup failed due to previous errors Jul 4, 2009
> 8:44:24 AM org.apache.tomcat.util.digester.Digester endElement
>
> SEVERE: End event threw exception
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616) at
> org.apache.tomcat.util.IntrospectionUtils.callMethodN
> (IntrospectionUtils.java:953)
> at org.apache.catalina.startup.CallMethodMultiRule.end
> (WebRuleSet.java:789)
> at org.apache.tomcat.util.digester.Rule.end(Rule.java:229) at
> org.apache.tomcat.util.digester.Digester.endElement
> (Digester.java:1140)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .endElement
> (Unknown Source)
> at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl
> $FragmentContentDriver.next(Unknown Source)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next
> (Unknown Source)
> at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
> (Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse
(Unknown
> Source)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
> $JAXPSAXParser.parse(Unknown Source)
> at org.apache.tomcat.util.digester.Digester.parse
> (Digester.java:1644)
> at
> org.apache.catalina.startup.ContextConfig.processDefaultWebC onfig
> (ContextConfig.java:687)
> at org.apache.catalina.startup.ContextConfig.defaultWebConfig
> (ContextConfig.java:624)
> at org.apache.catalina.startup.ContextConfig.start
> (ContextConfig.java:1065)
> at org.apache.catalina.startup.ContextConfig.lifecycleEvent
> (ContextConfig.java:261)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> (LifecycleSupport.java:117)
> at org.apache.catalina.core.StandardContext.start
> (StandardContext.java:4252)
> at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1045)
> at org.apache.catalina.core.StandardHost.start
> (StandardHost.java:719)
> at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1045)
> at org.apache.catalina.core.StandardEngine.start
> (StandardEngine.java:443)
> at org.apache.catalina.core.StandardService.start
> (StandardService.java:516)
> at org.apache.catalina.core.StandardServer.start
> (StandardServer.java:710)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:578 ) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616) at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88) at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
> Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies
> an unknown servlet name invoker
> at org.apache.catalina.core.StandardContext.addServletMapping
> (StandardContext.java:2393)
> at org.apache.catalina.core.StandardContext.addServletMapping
> (StandardContext.java:2373)
> ... 38 more
> Jul 4, 2009 8:44:24 AM org.apache.catalina.startup.ContextConfig
> processDefaultWebConfig
>
> SEVERE: Parse error in default web.xml
> java.lang.IllegalArgumentException: Servlet mapping specifies an unknown
> servlet name invoker
> at org.apache.tomcat.util.digester.Digester.createSAXException
> (Digester.java:2808)
> at org.apache.tomcat.util.digester.Digester.createSAXException
> (Digester.java:2834)
> at org.apache.tomcat.util.digester.Digester.endElement
> (Digester.java:1143)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .endElement
> (Unknown Source)
> at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl
> $FragmentContentDriver.next(Unknown Source)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next
> (Unknown Source)
> at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
> (Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse
(Unknown
> Source)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
> $JAXPSAXParser.parse(Unknown Source)
> at org.apache.tomcat.util.digester.Digester.parse
> (Digester.java:1644)
> at
> org.apache.catalina.startup.ContextConfig.processDefaultWebC onfig
> (ContextConfig.java:687)
> at org.apache.catalina.startup.ContextConfig.defaultWebConfig
> (ContextConfig.java:624)
> at org.apache.catalina.startup.ContextConfig.start
> (ContextConfig.java:1065)
> at org.apache.catalina.startup.ContextConfig.lifecycleEvent
> (ContextConfig.java:261)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> (LifecycleSupport.java:117)
> at org.apache.catalina.core.StandardContext.start
> (StandardContext.java:4252)
> at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1045)
> at org.apache.catalina.core.StandardHost.start
> (StandardHost.java:719)
> at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1045)
> at org.apache.catalina.core.StandardEngine.start
> (StandardEngine.java:443)
> at org.apache.catalina.core.StandardService.start
> (StandardService.java:516)
> at org.apache.catalina.core.StandardServer.start
> (StandardServer.java:710)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:578 ) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616) at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88) at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
> Jul 4, 2009 8:44:24 AM org.apache.catalina.startup.ContextConfig
> processDefaultWebConfig
>
> SEVERE: Occurred at line 365 column 23 Jul 4, 2009 8:44:24 AM
> org.apache.catalina.startup.ContextConfig start
>
> SEVERE: Marking this application unavailable due to previous error(s)
> Jul 4, 2009 8:44:24 AM org.apache.catalina.core.StandardContext start
>
> SEVERE: Error getConfigured
> Jul 4, 2009 8:44:24 AM org.apache.catalina.core.StandardContext start
>
> SEVERE: Context [/WebDbSearch1] startup failed due to previous errors
> Jul 4, 2009 8:44:24 AM org.apache.tomcat.util.digester.Digester
> endElement
>
> SEVERE: End event threw exception
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616) at
> org.apache.tomcat.util.IntrospectionUtils.callMethodN
> (IntrospectionUtils.java:953)
> at org.apache.catalina.startup.CallMethodMultiRule.end
> (WebRuleSet.java:789)
> at org.apache.tomcat.util.digester.Rule.end(Rule.java:229) at
> org.apache.tomcat.util.digester.Digester.endElement
> (Digester.java:1140)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .endElement
> (Unknown Source)
> at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl
> $FragmentContentDriver.next(Unknown Source)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next
> (Unknown Source)
> at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
> (Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse
(Unknown
> Source)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
> $JAXPSAXParser.parse(Unknown Source)
> at org.apache.tomcat.util.digester.Digester.parse
> (Digester.java:1644)
> at
> org.apache.catalina.startup.ContextConfig.processDefaultWebC onfig
> (ContextConfig.java:687)
> at org.apache.catalina.startup.ContextConfig.defaultWebConfig
> (ContextConfig.java:624)
> at org.apache.catalina.startup.ContextConfig.start
> (ContextConfig.java:1065)
> at org.apache.catalina.startup.ContextConfig.lifecycleEvent
> (ContextConfig.java:261)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> (LifecycleSupport.java:117)
> at org.apache.catalina.core.StandardContext.start
> (StandardContext.java:4252)
> at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1045)
> at org.apache.catalina.core.StandardHost.start
> (StandardHost.java:719)
> at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1045)
> at org.apache.catalina.core.StandardEngine.start
> (StandardEngine.java:443)
> at org.apache.catalina.core.StandardService.start
> (StandardService.java:516)
> at org.apache.catalina.core.StandardServer.start
> (StandardServer.java:710)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:578 ) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616) at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88) at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
> Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies
> an unknown servlet name invoker
> at org.apache.catalina.core.StandardContext.addServletMapping
> (StandardContext.java:2393)
> at org.apache.catalina.core.StandardContext.addServletMapping
> (StandardContext.java:2373)
> ... 38 more
> Jul 4, 2009 8:44:24 AM org.apache.catalina.startup.ContextConfig
> processDefaultWebConfig
>
> SEVERE: Parse error in default web.xml
> java.lang.IllegalArgumentException: Servlet mapping specifies an unknown
> servlet name invoker
> at org.apache.tomcat.util.digester.Digester.createSAXException
> (Digester.java:2808)
> at org.apache.tomcat.util.digester.Digester.createSAXException
> (Digester.java:2834)
> at org.apache.tomcat.util.digester.Digester.endElement
> (Digester.java:1143)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .endElement
> (Unknown Source)
> at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanEndElement
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl
> $FragmentContentDriver.next(Unknown Source)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next
> (Unknown Source)
> at
>
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse
> (Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> (Unknown Source)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse
(Unknown
> Source)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
> $JAXPSAXParser.parse(Unknown Source)
> at org.apache.tomcat.util.digester.Digester.parse
> (Digester.java:1644)
> at
> org.apache.catalina.startup.ContextConfig.processDefaultWebC onfig
> (ContextConfig.java:687)
> at org.apache.catalina.startup.ContextConfig.defaultWebConfig
> (ContextConfig.java:624)
> at org.apache.catalina.startup.ContextConfig.start
> (ContextConfig.java:1065)
> at org.apache.catalina.startup.ContextConfig.lifecycleEvent
> (ContextConfig.java:261)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> (LifecycleSupport.java:117)
> at org.apache.catalina.core.StandardContext.start
> (StandardContext.java:4252)
> at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1045)
> at org.apache.catalina.core.StandardHost.start
> (StandardHost.java:719)
> at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1045)
> at org.apache.catalina.core.StandardEngine.start
> (StandardEngine.java:443)
> at org.apache.catalina.core.StandardService.start
> (StandardService.java:516)
> at org.apache.catalina.core.StandardServer.start
> (StandardServer.java:710)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:578 ) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616) at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88) at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
> Jul 4, 2009 8:44:24 AM org.apache.catalina.startup.ContextConfig
> processDefaultWebConfig
>
> SEVERE: Occurred at line 365 column 23 Jul 4, 2009 8:44:24 AM
> org.apache.catalina.startup.ContextConfig start
>
> SEVERE: Marking this application unavailable due to previous error(s)
> Jul 4, 2009 8:44:24 AM org.apache.catalina.core.StandardContext start
>
> SEVERE: Error getConfigured
> Jul 4, 2009 8:44:24 AM org.apache.catalina.core.StandardContext start
>
> SEVERE: Context [/WebDb1] startup failed due to previous errors Jul 4,
> 2009 8:44:24 AM org.apache.coyote.http11.Http11AprProtocol start
>
> INFO: Starting Coyote HTTP/1.1 on http-8080 Jul 4, 2009 8:44:24 AM
> org.apache.coyote.ajp.AjpAprProtocol start INFO: Starting Coyote AJP/1.3
> on ajp-8009 Jul 4, 2009 8:44:24 AM org.apache.catalina.startup.Catalina
> start
>
> INFO: Server startup in 1064 ms
> ===============================================

I have resolved all, but two issues:

1) Galileo no longer prompts me for my workspace
location when starting Eclipse, so how do I get
this back?

2) Galileo recognized in server.xml, the required
authentication code but Ganamede somehow ignores
this requirement and immediately goes into anonymous
authentication (no prompts).

====
I had a problem getting the application to run for both
Ganemede & Galileo:

Initially I had the following code:
<%@ page
import = "java.io.*"
import = "java.lang.*"
import = "java.sql.*"
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="s"%>

Ganemede was happy with this, but Galileo was complaining
of unresolved tablib uri paths for both of the above tablibs.

So, to fix this for Galileo, I had to add:
import = "java.util.*"
and both tablibs were resolved for Gamamede & Galileo

FWIW,
Dan
Re: Ganamede, Galileo, and Tomcat 6 [message #233317 is a reply to message #233299] Mon, 06 July 2009 14:10 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Dan Thurman wrote:
> On Sat, 04 Jul 2009 17:06:57 +0000, Dan Thurman wrote:
>
<snip>
....
</snip>
>
> I have resolved all, but two issues:
>
> 1) Galileo no longer prompts me for my workspace
> location when starting Eclipse, so how do I get
> this back?

Window -> Preferences -> General -> Startup and Shutdown.

>
> 2) Galileo recognized in server.xml, the required
> authentication code but Ganamede somehow ignores
> this requirement and immediately goes into anonymous
> authentication (no prompts).

I'm not sure exactly what "Galileo recognized in server.xml" means.
It's not clear exactly how your Galileo and Ganymede environments are
set up. Since I don't have a system that can duplicate your setup I can
only guess what might be wrong.

Can we assume you are running Galileo and Ganymede on separate workspaces?

Cheers,
Larry

P.S. You may want to download a binary version of Tomcat from the Apache
site and use that. Packaged versions of Tomcat are notorious for having
various usage issues due to choices the package designers made.

>
> ====
> I had a problem getting the application to run for both
> Ganemede & Galileo:
>
> Initially I had the following code:
> <%@ page
> import = "java.io.*"
> import = "java.lang.*"
> import = "java.sql.*"
> %>
> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
> <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="s"%>
>
> Ganemede was happy with this, but Galileo was complaining
> of unresolved tablib uri paths for both of the above tablibs.
>
> So, to fix this for Galileo, I had to add:
> import = "java.util.*"
> and both tablibs were resolved for Gamamede & Galileo
>
> FWIW,
> Dan
Re: Ganamede, Galileo, and Tomcat 6 [message #233333 is a reply to message #233317] Mon, 06 July 2009 18:45 Go to previous messageGo to next message
Dan Thurman is currently offline Dan ThurmanFriend
Messages: 57
Registered: July 2009
Member
On Mon, 06 Jul 2009 10:10:20 -0400, Larry Isaacs wrote:

> Dan Thurman wrote:
>> On Sat, 04 Jul 2009 17:06:57 +0000, Dan Thurman wrote:
>>
> <snip>
> ...
> </snip>
>>
>> I have resolved all, but two issues:
>>
>> 1) Galileo no longer prompts me for my workspace
>> location when starting Eclipse, so how do I get this back?
>
> Window -> Preferences -> General -> Startup and Shutdown.

Ganymede works fine.

Galileo seems stuck and I cannot unstuck it. I tried
removing all workspaces in the list, and it seems stuck
at the last workspace setting of which I am forced to use
a two-step method to change it to something other via
the File->Switch Workspace menu.

>
>
>> 2) Galileo recognized in server.xml, the required
>> authentication code but Ganymede somehow ignores this requirement
>> and immediately goes into anonymous authentication (no prompts).
>
> I'm not sure exactly what "Galileo recognized in server.xml" means.

What I am saying here is that tomcat6->conf->server.xml can be
configured for controlling authentication and what was odd is
that Ganymede ignored the required authentication code which
resulted in anonymous access, and yet, Galileo did not ignore
the authentication code and prompted for a username/password
to grant access the application.

> It's not clear exactly how your Galileo and Ganymede environment
> are set up. Since I don't have a system that can duplicate your
> setup I can only guess what might be wrong.
>
> Can we assume you are running Galileo and Ganymede on separate
> workspaces?

Yes, of course, otherwise "collisions" & permissions problems
can result.

>
> Cheers,
> Larry
>
> P.S. You may want to download a binary version of Tomcat from the Apache
> site and use that. Packaged versions of Tomcat are notorious for having
> various usage issues due to choices the package designers made.
>

Yes, I did that. I have three versions:
(1) Fedora tomcat-6 RPM installed
(2) Netbeans tomcat-6 installed
(3) Apache tomcat-6 installed.

All three seems to work well so far.

>
>> ====
>> I had a problem getting the application to
>> run for both Ganymede & Galileo:
>>
>> Initially I had the following code:
>> <%@ page
>> import = "java.io.*"
>> import = "java.lang.*"
>> import = "java.sql.*"
>> %>
>> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
>> <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="s"%>
>>
>> Ganymede was happy with this, but Galileo was complaining of unresolved
>> tablib uri paths for both of the above tablibs.
>>
>> So, to fix this for Galileo, I had to add:
>> import = "java.util.*"
>> and both tablibs were resolved for Ganymede & Galileo
>>
>> FWIW,
>> Dan
Re: Ganamede, Galileo, and Tomcat 6 [message #233369 is a reply to message #233333] Tue, 07 July 2009 13:43 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Dan Thurman wrote:
> On Mon, 06 Jul 2009 10:10:20 -0400, Larry Isaacs wrote:
>
>> Dan Thurman wrote:
>>> On Sat, 04 Jul 2009 17:06:57 +0000, Dan Thurman wrote:
>>>
>> <snip>
>> ...
>> </snip>
>>> I have resolved all, but two issues:
>>>
>>> 1) Galileo no longer prompts me for my workspace
>>> location when starting Eclipse, so how do I get this back?
>> Window -> Preferences -> General -> Startup and Shutdown.
>
> Ganymede works fine.
>
> Galileo seems stuck and I cannot unstuck it. I tried
> removing all workspaces in the list, and it seems stuck
> at the last workspace setting of which I am forced to use
> a two-step method to change it to something other via
> the File->Switch Workspace menu.
>
>>
>>> 2) Galileo recognized in server.xml, the required
>>> authentication code but Ganymede somehow ignores this requirement
>>> and immediately goes into anonymous authentication (no prompts).
>> I'm not sure exactly what "Galileo recognized in server.xml" means.
>
> What I am saying here is that tomcat6->conf->server.xml can be
> configured for controlling authentication and what was odd is
> that Ganymede ignored the required authentication code which
> resulted in anonymous access, and yet, Galileo did not ignore
> the authentication code and prompted for a username/password
> to grant access the application.

The WTP Tomcat support only uses tomcat6->conf->server.xml when it
creates the server. After that its the copy of server.xml under the
Servers project in your workspace that gets used. If it helps, see the
WTP Tomcat FAQ for details about how the WTP Tomcat support works:
http://wiki.eclipse.org/WTP_Tomcat_FAQ.

Also, in case you are using the internal browser in Eclipse, be aware
that once the internal browser is displayed, it is never closed.
"Closing" the internal browser window only hides the window and doesn't
actually close it. This implies that if you are using basic
authentication, once authenticated, the browser will remember those
credentials for the remainder of the Eclipse session. There isn't
enough detail to determine if this could explain the odd behavior with
authentication, but it might.

Cheers,
Larry

>
>> It's not clear exactly how your Galileo and Ganymede environment
>> are set up. Since I don't have a system that can duplicate your
>> setup I can only guess what might be wrong.
>>
>> Can we assume you are running Galileo and Ganymede on separate
>> workspaces?
>
> Yes, of course, otherwise "collisions" & permissions problems
> can result.
>
>> Cheers,
>> Larry
>>
>> P.S. You may want to download a binary version of Tomcat from the Apache
>> site and use that. Packaged versions of Tomcat are notorious for having
>> various usage issues due to choices the package designers made.
>>
>
> Yes, I did that. I have three versions:
> (1) Fedora tomcat-6 RPM installed
> (2) Netbeans tomcat-6 installed
> (3) Apache tomcat-6 installed.
>
> All three seems to work well so far.
>
>>> ====
>>> I had a problem getting the application to
>>> run for both Ganymede & Galileo:
>>>
>>> Initially I had the following code:
>>> <%@ page
>>> import = "java.io.*"
>>> import = "java.lang.*"
>>> import = "java.sql.*"
>>> %>
>>> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
>>> <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="s"%>
>>>
>>> Ganymede was happy with this, but Galileo was complaining of unresolved
>>> tablib uri paths for both of the above tablibs.
>>>
>>> So, to fix this for Galileo, I had to add:
>>> import = "java.util.*"
>>> and both tablibs were resolved for Ganymede & Galileo
>>>
>>> FWIW,
>>> Dan
Previous Topic:can't add apache 6.0.18 server runtime
Next Topic:Eclipse Webtools servers.xml file
Goto Forum:
  


Current Time: Fri Mar 29 05:33:12 GMT 2024

Powered by FUDForum. Page generated in 0.26162 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top