You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Sting Ray <jo...@yahoo.com> on 2007/04/03 10:53:43 UTC
Issue with deploying a service in correct path
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
"http://server.servertest.com:8080/mobilesolution/menu.jsp" 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: http://www.nabble.com/Issue-with-deploying-a-service-in-correct-path-tf3510556s134.html#a9805946
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Issue with deploying a service in correct path
Posted by Sting Ray <jo...@yahoo.com>.
Hi David,
my requirements pretty much are here ...
The mobile application I'm using must locate a JSP page to function
correctly. Particularly a JSP, not an archive (like .war). One particular
JSP needs to locate in a certain path, with other JSPs I'm able to play
around with paths by setting them up. For the latter case, I believe your
the option 1 you introduced could work? And for the first case, number 2?
Thanks greatly. Since I'm not a native, I'm having a touch time expressing
myself directly enough. If I'm laying it out unclearly, I'll try to speak it
out in other words.
Regards.
djencks wrote:
>
> 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
>>>> "http://server.servertest.com:8080/mobilesolution/menu.jsp" 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: http://www.nabble.com/Issue-with-
>>>> deploying-a-service-in-correct-path-tf3510556s134.html#a9805946
>>>> Sent from the Apache Geronimo - Users mailing list archive at
>>>> Nabble.com.
>>>>
>>>
>>>
>>>
>>
>> --
>> View this message in context: http://www.nabble.com/Issue-with-
>> deploying-a-service-in-correct-path-tf3510556s134.html#a9816461
>> Sent from the Apache Geronimo - Users mailing list archive at
>> Nabble.com.
>>
>
>
>
--
View this message in context: http://www.nabble.com/Issue-with-deploying-a-service-in-correct-path-tf3510556s134.html#a9819854
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Issue with deploying a service in correct path
Posted by David Jencks <da...@yahoo.com>.
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
>>> "http://server.servertest.com:8080/mobilesolution/menu.jsp" 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: http://www.nabble.com/Issue-with-
>>> deploying-a-service-in-correct-path-tf3510556s134.html#a9805946
>>> Sent from the Apache Geronimo - Users mailing list archive at
>>> Nabble.com.
>>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Issue-with-
> deploying-a-service-in-correct-path-tf3510556s134.html#a9816461
> Sent from the Apache Geronimo - Users mailing list archive at
> Nabble.com.
>
Re: Issue with deploying a service in correct path
Posted by Sting Ray <jo...@yahoo.com>.
Edit: deploy, not employ :-)
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
>>> "http://server.servertest.com:8080/mobilesolution/menu.jsp" 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: http://www.nabble.com/Issue-with-
>>> deploying-a-service-in-correct-path-tf3510556s134.html#a9805946
>>> Sent from the Apache Geronimo - Users mailing list archive at
>>> Nabble.com.
>>>
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Issue-with-deploying-a-service-in-correct-path-tf3510556s134.html#a9816541
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Issue with deploying a service in correct path
Posted by Sting Ray <jo...@yahoo.com>.
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
>> "http://server.servertest.com:8080/mobilesolution/menu.jsp" 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: http://www.nabble.com/Issue-with-
>> deploying-a-service-in-correct-path-tf3510556s134.html#a9805946
>> Sent from the Apache Geronimo - Users mailing list archive at
>> Nabble.com.
>>
>
>
>
--
View this message in context: http://www.nabble.com/Issue-with-deploying-a-service-in-correct-path-tf3510556s134.html#a9816461
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Issue with deploying a service in correct path
Posted by David Jencks <da...@yahoo.com>.
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
> "http://server.servertest.com:8080/mobilesolution/menu.jsp" 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: http://www.nabble.com/Issue-with-
> deploying-a-service-in-correct-path-tf3510556s134.html#a9805946
> Sent from the Apache Geronimo - Users mailing list archive at
> Nabble.com.
>