i'm setting up an instance of javax.jcr.Repository as a naming resource
like so:
Resource name=jcr/cosmo
type=org.apache.jackrabbit.core.jndi.BindableRepository
factory=org.apache.jackrabbit.core.jndi.BindableRepositoryFactory
configFilePath=etc/repository.xml
i've got a webapp deployed in tomcat 5.5.9 that provides three separate
interfaces to my business logic:
1) web ui
2) webdav
3) rest
i want session management via cookies and url-rewriting for the web ui
but not for the other interfaces. is there a clean way to achieve that
portably with the
i'm using tomcat 5.5.9 with a single webapp deployed with a context path
of and a default host named localhost. when i request the webapp's
root resource (http://localhost:8080/), i get a 400 error with the
message No Host matches server name localhost.
as you can see from my very minimal
Parsons Technical Services wrote:
Per the 5.5 doc you can't do it that way. You can only specify the path
as a blank string when the context element is in the server.xml.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
Look at the path attribute.
aha! man, if only
in my continuing quest to migrate my server app from 5.0.28 to 5.5.9, i
now face a problem with ssl: secure connections hang for variable
amounts of time, and then the server drops them.
curl reports Unknown SSL protocol error in connection to localhost:8443.
my connectors are defined as
Paul Austin wrote:
It seems that Tomcat 5.5 discourages you from putting contexts in the
server.xml, and that is something that is a good idea as it's easier to
manage them when they are outside. But the context path is only
supported when you put it in the server.xml so you can't deploy the
Brian Moseley wrote:
i don't recall seeing any references to a ROOT.xml. i tried renaming my
context xml file to ROOT.xml (within conf/Catalina/localhost of course)
but it did not seem to have been processed (requests to / gave that same
400 error).
and gosh, what a misleading error message
Julie Moore wrote:
I usually put the sslProtocol=TSL' entry in my connector and have to
had any problems.
wow, you're right. i thought that TLS was the default, but i guess there
is no default. all is good now. thanks for the catch!
lesson learned since yesterday afternoon: read every word
i've been trying to get my webapp working in tomcat 5.5.9, and i'm
running into a problem using spring's JndiObjectFactoryBean to access a
tomcat naming resource.
i'm getting a BeanCreationException with this message: Error creating
bean with name 'jcrRepository' defined in class path resource
Brian Moseley wrote:
i've been trying to get my webapp working in tomcat 5.5.9, and i'm
running into a problem using spring's JndiObjectFactoryBean to access a
tomcat naming resource.
nevermind! i didn't rtfm and so did not realize that 5.5 does not use
ResourceParams. all is well. hope
not specifically tomcat-related, but close enough i hope:
i'm looking for an out-of-container servlet testing framework that
executes servlet context listeners and filters. ideally it would also
have maven integration, but i can live without that.
i checked out httpunit's servletrunner, but
Dennis wrote:
I've seen a combination of httpunit and dbunit used. You could give
that a shot and see if it meets your needs.
thanks. i looked at httpunit before posting, but it seems to only pull
the servlets from your web.xml file. i need the servlet context
listeners and filters loaded
12 matches
Mail list logo