geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <>
Subject Re: Issue with deploying a service in correct path
Date Tue, 03 Apr 2007 16:08:35 GMT
Again I'm not entirely sure what your requirements are, but...

Geronimo needs the war file unpacked in some way in order to work  
with your application.  There are basically 2 ways this can happen:

1. If you deploy a war normally, geronimo will unpack it into the  
"car" directory it creates in the geronimo repository.  You can get  
to the jsp files there and with the normal tomcat or jetty  
configuration changes in the jsp files will get picked up by jasper.

2. If you start with an unpacked war (e.g. your app is laid out like  
a war file, but in a directory myapp.war rather than an actual war  
file, you can use the --inPlace deployment option and your app will  
not be copied into the geronimo repository, and you can change the  
jsps as you like.

There may be more "development" options if you are using eclipse and  
the eclipse plugins but I'm not familiar with them.

  hope this helps
david jencks

On Apr 3, 2007, at 8:56 AM, Sting Ray wrote:

> Hi,
> you got me right. That I also figured out just now while reading  
> more about
> paths.
> Do you have an idea how to employ that JSP without archiving it?
> That issue keeps on puzzling me ... :-)
> Thanks David, appreciate it.
> BRs,
> Jori
> djencks wrote:
>> I can't tell since you only show one desired path, but if all the
>> jsps need to be under "mobilesolution" then you can specify this path
>> as the context-root element in a geronimo plan.  If there is no such
>> common path component then you can specify the context-root as "/"
>> and specify the entire path in a servlet-mapping element in web.xml.
>> Does this answer your question or did I misunderstand what you are
>> asking?
>> thanks
>> david jencks
>> On Apr 3, 2007, at 1:53 AM, Sting Ray wrote:
>>> Hey all,
>>> a newbie for Geronimo is behind this question. I could not find an
>>> answer
>>> for it and would appreciate some assistance.
>>> There is a service developed for Tomcat 4.1. In this service
>>> solution, some
>>> XML is generated on a JSP page, which must be available for
>>> existing mobile
>>> clients to parse as it is in a preset and known server path. This
>>> means I'm
>>> not able to archive (.war, for example) the JSPs in order to deploy
>>> them on
>>> Geronimo and I should get them configured to a certain path like
>>> "" or
>>> similar.
>>> Any suggestions how could I configure certain JSPs to a certain
>>> path and
>>> deploy them like with Tomcat 4.1.
>>> Cheers!
>>> Thanks a bunch!
>>> -- 
>>> View this message in context:
>>> deploying-a-service-in-correct-path-tf3510556s134.html#a9805946
>>> Sent from the Apache Geronimo - Users mailing list archive at
> -- 
> View this message in context: 
> deploying-a-service-in-correct-path-tf3510556s134.html#a9816461
> Sent from the Apache Geronimo - Users mailing list archive at  

View raw message