You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Raquel Cruz <rm...@gmail.com> on 2008/04/17 18:21:07 UTC

Deploy application

Hello everyone

My application is done and now I want to deploy it to a server in another
machine. How can I do that? Should I build a .war file with the application
or should I just copy Jetspeed page into the server?

Raquel

Re: Deploy application

Posted by Raquel Cruz <rm...@gmail.com>.
Hi

I've already done done:
http://machineName:port/jetspeed/desktop
and I can't see the webpage inside the network. Then I've redirect
http://machineName:port/jetspeed/desktop to
http://mywebsite.com/jetspeed/desktop and when I use this link I can't
access to webpage. I think I've found the problem: in source code of
http://mywebsite.com/jetspeed/desktop I've found this line:
djConfig.baseScriptUri = "http://machineName:port
/jetspeed/javascript/dojo/";

There are some configuration that I've to change to make it work ?

Thanks
Raquel



2008/4/22 Alan Chaney <al...@writingshow.com>:

> Raquel Cruz wrote:
>
> > Hi
> >
> > No, it isn't in that port, because that one was busy.
> >
> Do you mean you couldn't start tomcat because it said port 80 was in use,
> or do you have another web server using
> that port?
>
>  But I can't understand
> > what I have to change in application properties or where else to make it
> > work in the other machine. Yes, DNS is working. There are lots of
> > "hostnames" in application files and I can't understand which one I have
> > to
> > change!
> > But if I go to 192.168.2.XXX/demo (the IP of machine where I want my
> > application running) I can see the application running, but I'm sure
> > that
> > DNS is working...
> >
> >
> >
> >
>
> shouldn't you be trying:
>
> http://machineName.com:<port>/jetspeed/portal
>
>
> if you are not using the default port for jetspeed?
>
>
>
>  and I write http://machineIP:port/jetspeed/portal it works ok, but if I
> > > > write http://machineName.com/jetspeed/portal it won't works and I
> > > > can't
> > > >
> > > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>

Re: Deploy application

Posted by Alan Chaney <al...@writingshow.com>.
Raquel Cruz wrote:
> Hi
>
> No, it isn't in that port, because that one was busy. 
Do you mean you couldn't start tomcat because it said port 80 was in 
use, or do you have another web server using
that port?

> But I can't understand
> what I have to change in application properties or where else to make it
> work in the other machine. Yes, DNS is working. There are lots of
> "hostnames" in application files and I can't understand which one I have to
> change!
> But if I go to 192.168.2.XXX/demo (the IP of machine where I want my
> application running) I can see the application running, but I'm sure that
> DNS is working...
>
>
>   

shouldn't you be trying:

http://machineName.com:<port>/jetspeed/portal


if you are not using the default port for jetspeed?



>>> and I write http://machineIP:port/jetspeed/portal it works ok, but if I
>>> write http://machineName.com/jetspeed/portal it won't works and I can't
>>>       


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Deploy application

Posted by Stefano Bianchi <st...@softeco.it>.
Are you deploying on Tomcat?
I think you should activate virtual hosts in Tomcat to resolve e.g.

http:\\www.mysite.eu --> http:\\xxx.xxx.xxx.xxx:port\jetspeed\portal

making the proper configuration on you ISP on one side (redirect) and 
configuring your Tomcat server.xml on the other side.

Hope it helps,
Stefano

----- Original Message ----- 
From: "Raquel Cruz" <rm...@gmail.com>
To: "Jetspeed Users List" <je...@portals.apache.org>
Sent: Tuesday, April 22, 2008 4:34 PM
Subject: Re: Deploy application


> Hi
>
> No, it isn't in that port, because that one was busy. But I can't 
> understand
> what I have to change in application properties or where else to make it
> work in the other machine. Yes, DNS is working. There are lots of
> "hostnames" in application files and I can't understand which one I have 
> to
> change!
> But if I go to 192.168.2.XXX/demo (the IP of machine where I want my
> application running) I can see the application running, but I'm sure that
> DNS is working...
>
> Raquel
>
> 2008/4/22 Brad Gardner <bg...@gmail.com>:
>
>> Is it running on port 80? Also, check to see that the DNS is working
>> properly.  You can ping on the command line such as : "ping
>> <systemName.com>
>> and see if it resolves the same IP address that you are typing in when it
>> works.
>>
>> On Tue, Apr 22, 2008 at 9:48 AM, Raquel Cruz <rm...@gmail.com> wrote:
>>
>> > Hi again
>> >
>> > I think my problem is not the deploy. Let me explain: when I put the
>> > application into the server, if I try to go to browser (in the same
>> > network)
>> > and I write http://machineIP:port/jetspeed/portal it works ok, but if I
>> > write http://machineName.com/jetspeed/portal it won't works and I can't
>> > understand why. I thought the problem was with the deploy :(
>> >
>> > This is kind of urgent...
>> >
>> > Thanks a lot
>> > Raquel
>> >
>> > 2008/4/22 David Sean Taylor <da...@bluesunrise.com>:
>> >
>> > >
>> > > On Apr 21, 2008, at 7:45 AM, Raquel Cruz wrote:
>> > >
>> > >  Hi!
>> > > >
>> > > > Well, I've already install Maven 2 but it doesn't have the deploy
>> > > > option, I
>> > > > think!
>> > > >
>> > > > I think I need your help, step by step!
>> > > >
>> > > >  As Dennis recommended, build your WAR file and drop it in
>> > > WEB-INF/deploy of the Jetspeed application
>> > > Or you can add the container to the web.xml of your app. In that 
>> > > case,
>> > it
>> > > can be dropped in Tomcat's webapps for example;
>> > >
>> > >  <servlet>
>> > >    <servlet-name>JetspeedContainer</servlet-name>
>> > >    <display-name>Jetspeed Container</display-name>
>> > >    <description>MVC Servlet for Jetspeed Portlet
>> > > Applications</description>
>> > >
>> > >
>> >
>> 
>> <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
>> > >    <init-param>
>> > >      <param-name>contextName</param-name>
>> > >      <param-value>myPortletApp</param-value>
>> > >    </init-param>
>> > >    <load-on-startup>100</load-on-startup>
>> > >  </servlet>
>> > >
>> > >  <servlet-mapping>
>> > >     <servlet-name>
>> > >        JetspeedContainer
>> > >     </servlet-name>
>> > >     <url-pattern>
>> > >       /container/*
>> > >     </url-pattern>
>> > >  </servlet-mapping>
>> > >
>> > >
>> >
>>
>>
>>
>> --
>> Brad Gardner
>>
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Deploy application

Posted by Raquel Cruz <rm...@gmail.com>.
Hi

No, it isn't in that port, because that one was busy. But I can't understand
what I have to change in application properties or where else to make it
work in the other machine. Yes, DNS is working. There are lots of
"hostnames" in application files and I can't understand which one I have to
change!
But if I go to 192.168.2.XXX/demo (the IP of machine where I want my
application running) I can see the application running, but I'm sure that
DNS is working...

Raquel

2008/4/22 Brad Gardner <bg...@gmail.com>:

> Is it running on port 80? Also, check to see that the DNS is working
> properly.  You can ping on the command line such as : "ping
> <systemName.com>
> and see if it resolves the same IP address that you are typing in when it
> works.
>
> On Tue, Apr 22, 2008 at 9:48 AM, Raquel Cruz <rm...@gmail.com> wrote:
>
> > Hi again
> >
> > I think my problem is not the deploy. Let me explain: when I put the
> > application into the server, if I try to go to browser (in the same
> > network)
> > and I write http://machineIP:port/jetspeed/portal it works ok, but if I
> > write http://machineName.com/jetspeed/portal it won't works and I can't
> > understand why. I thought the problem was with the deploy :(
> >
> > This is kind of urgent...
> >
> > Thanks a lot
> > Raquel
> >
> > 2008/4/22 David Sean Taylor <da...@bluesunrise.com>:
> >
> > >
> > > On Apr 21, 2008, at 7:45 AM, Raquel Cruz wrote:
> > >
> > >  Hi!
> > > >
> > > > Well, I've already install Maven 2 but it doesn't have the deploy
> > > > option, I
> > > > think!
> > > >
> > > > I think I need your help, step by step!
> > > >
> > > >  As Dennis recommended, build your WAR file and drop it in
> > > WEB-INF/deploy of the Jetspeed application
> > > Or you can add the container to the web.xml of your app. In that case,
> > it
> > > can be dropped in Tomcat's webapps for example;
> > >
> > >  <servlet>
> > >    <servlet-name>JetspeedContainer</servlet-name>
> > >    <display-name>Jetspeed Container</display-name>
> > >    <description>MVC Servlet for Jetspeed Portlet
> > > Applications</description>
> > >
> > >
> >
>  <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
> > >    <init-param>
> > >      <param-name>contextName</param-name>
> > >      <param-value>myPortletApp</param-value>
> > >    </init-param>
> > >    <load-on-startup>100</load-on-startup>
> > >  </servlet>
> > >
> > >  <servlet-mapping>
> > >     <servlet-name>
> > >        JetspeedContainer
> > >     </servlet-name>
> > >     <url-pattern>
> > >       /container/*
> > >     </url-pattern>
> > >  </servlet-mapping>
> > >
> > >
> >
>
>
>
> --
> Brad Gardner
>

Re: Deploy application

Posted by Brad Gardner <bg...@gmail.com>.
Is it running on port 80? Also, check to see that the DNS is working
properly.  You can ping on the command line such as : "ping <systemName.com>
and see if it resolves the same IP address that you are typing in when it
works.

On Tue, Apr 22, 2008 at 9:48 AM, Raquel Cruz <rm...@gmail.com> wrote:

> Hi again
>
> I think my problem is not the deploy. Let me explain: when I put the
> application into the server, if I try to go to browser (in the same
> network)
> and I write http://machineIP:port/jetspeed/portal it works ok, but if I
> write http://machineName.com/jetspeed/portal it won't works and I can't
> understand why. I thought the problem was with the deploy :(
>
> This is kind of urgent...
>
> Thanks a lot
> Raquel
>
> 2008/4/22 David Sean Taylor <da...@bluesunrise.com>:
>
> >
> > On Apr 21, 2008, at 7:45 AM, Raquel Cruz wrote:
> >
> >  Hi!
> > >
> > > Well, I've already install Maven 2 but it doesn't have the deploy
> > > option, I
> > > think!
> > >
> > > I think I need your help, step by step!
> > >
> > >  As Dennis recommended, build your WAR file and drop it in
> > WEB-INF/deploy of the Jetspeed application
> > Or you can add the container to the web.xml of your app. In that case,
> it
> > can be dropped in Tomcat's webapps for example;
> >
> >  <servlet>
> >    <servlet-name>JetspeedContainer</servlet-name>
> >    <display-name>Jetspeed Container</display-name>
> >    <description>MVC Servlet for Jetspeed Portlet
> > Applications</description>
> >
> >
>  <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
> >    <init-param>
> >      <param-name>contextName</param-name>
> >      <param-value>myPortletApp</param-value>
> >    </init-param>
> >    <load-on-startup>100</load-on-startup>
> >  </servlet>
> >
> >  <servlet-mapping>
> >     <servlet-name>
> >        JetspeedContainer
> >     </servlet-name>
> >     <url-pattern>
> >       /container/*
> >     </url-pattern>
> >  </servlet-mapping>
> >
> >
>



-- 
Brad Gardner

Re: Deploy application

Posted by Raquel Cruz <rm...@gmail.com>.
Hi again

I think my problem is not the deploy. Let me explain: when I put the
application into the server, if I try to go to browser (in the same network)
and I write http://machineIP:port/jetspeed/portal it works ok, but if I
write http://machineName.com/jetspeed/portal it won't works and I can't
understand why. I thought the problem was with the deploy :(

This is kind of urgent...

Thanks a lot
Raquel

2008/4/22 David Sean Taylor <da...@bluesunrise.com>:

>
> On Apr 21, 2008, at 7:45 AM, Raquel Cruz wrote:
>
>  Hi!
> >
> > Well, I've already install Maven 2 but it doesn't have the deploy
> > option, I
> > think!
> >
> > I think I need your help, step by step!
> >
> >  As Dennis recommended, build your WAR file and drop it in
> WEB-INF/deploy of the Jetspeed application
> Or you can add the container to the web.xml of your app. In that case, it
> can be dropped in Tomcat's webapps for example;
>
>  <servlet>
>    <servlet-name>JetspeedContainer</servlet-name>
>    <display-name>Jetspeed Container</display-name>
>    <description>MVC Servlet for Jetspeed Portlet
> Applications</description>
>
>  <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
>    <init-param>
>      <param-name>contextName</param-name>
>      <param-value>myPortletApp</param-value>
>    </init-param>
>    <load-on-startup>100</load-on-startup>
>  </servlet>
>
>  <servlet-mapping>
>     <servlet-name>
>        JetspeedContainer
>     </servlet-name>
>     <url-pattern>
>       /container/*
>     </url-pattern>
>  </servlet-mapping>
>
>

Re: Deploy application

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Apr 21, 2008, at 7:45 AM, Raquel Cruz wrote:

> Hi!
>
> Well, I've already install Maven 2 but it doesn't have the deploy  
> option, I
> think!
>
> I think I need your help, step by step!
>
As Dennis recommended, build your WAR file and drop it in WEB-INF/ 
deploy of the Jetspeed application
Or you can add the container to the web.xml of your app. In that case,  
it can be dropped in Tomcat's webapps for example;

   <servlet>
     <servlet-name>JetspeedContainer</servlet-name>
     <display-name>Jetspeed Container</display-name>
     <description>MVC Servlet for Jetspeed Portlet Applications</ 
description>
     <servlet- 
class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet- 
class>
     <init-param>
       <param-name>contextName</param-name>
       <param-value>myPortletApp</param-value>
     </init-param>
     <load-on-startup>100</load-on-startup>
   </servlet>

   <servlet-mapping>
      <servlet-name>
         JetspeedContainer
      </servlet-name>
      <url-pattern>
        /container/*
      </url-pattern>
   </servlet-mapping>


Re: Deploy application

Posted by Raquel Cruz <rm...@gmail.com>.
Hi!

Well, I've already install Maven 2 but it doesn't have the deploy option, I
think!

I think I need your help, step by step!

Thanks a lot
Raquel

2008/4/18 Raquel Cruz <rm...@gmail.com>:

> Hi
>
> Yes I'm talking about the portal and my Jetspeed version is 2.1.3. My
> portltets are simple html files, so I don't have to deploy them. I can't run
> maven, I'm kind of confused. I tried to copy jetspeed folder to server but
> then I can't see the portlets, it says that portlets are not available!
>
> Raquel
>
> 2008/4/18 Dennis Dam <d....@onehippo.com>:
>
> Hi Raquel,
> >
> > depends on whether you're using maven 1/2 and which version of Jetspeed
> > (I assume 2.1.3). Are you talking about the portal application , or a
> > portlet application? For the portal, see
> > http://portals.apache.org/jetspeed-2/getting-started-source.html (based
> > on maven 1, Jetspeed 2.1.3). For a portlet application, simply build a .WAR,
> > and deploy the application *inside* the portal running in the remote
> > application container, in the folder /WEB-INF/deploy
> >
> > Dennis
> >
> >
> > Raquel Cruz wrote:
> >
> > > Hello everyone
> > >
> > > My application is done and now I want to deploy it to a server in
> > > another
> > > machine. How can I do that? Should I build a .war file with the
> > > application
> > > or should I just copy Jetspeed page into the server?
> > >
> > > Raquel
> > >
> > >
> > >
> >
> >
> > --
> > Hippo
> > d.dam@onehippo.com
> >
> > Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
> > San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329
> > +1 (707) 773-4646
> >
> > www.onehippo.com info@onehippo.com
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
> >
>

Re: Deploy application

Posted by Raquel Cruz <rm...@gmail.com>.
Hi

Yes I'm talking about the portal and my Jetspeed version is 2.1.3. My
portltets are simple html files, so I don't have to deploy them. I can't run
maven, I'm kind of confused. I tried to copy jetspeed folder to server but
then I can't see the portlets, it says that portlets are not available!

Raquel

2008/4/18 Dennis Dam <d....@onehippo.com>:

> Hi Raquel,
>
> depends on whether you're using maven 1/2 and which version of Jetspeed (I
> assume 2.1.3). Are you talking about the portal application , or a portlet
> application? For the portal, see
> http://portals.apache.org/jetspeed-2/getting-started-source.html (based on
> maven 1, Jetspeed 2.1.3). For a portlet application, simply build a .WAR,
> and deploy the application *inside* the portal running in the remote
> application container, in the folder /WEB-INF/deploy
>
> Dennis
>
>
> Raquel Cruz wrote:
>
> > Hello everyone
> >
> > My application is done and now I want to deploy it to a server in
> > another
> > machine. How can I do that? Should I build a .war file with the
> > application
> > or should I just copy Jetspeed page into the server?
> >
> > Raquel
> >
> >
> >
>
>
> --
> Hippo
> d.dam@onehippo.com
>
> Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San
> Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1
> (707) 773-4646
>
> www.onehippo.com info@onehippo.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>

Re: Deploy application

Posted by Dennis Dam <d....@onehippo.com>.
Hi Raquel,

depends on whether you're using maven 1/2 and which version of Jetspeed 
(I assume 2.1.3). Are you talking about the portal application , or a 
portlet application? For the portal, see 
http://portals.apache.org/jetspeed-2/getting-started-source.html (based 
on maven 1, Jetspeed 2.1.3). For a portlet application, simply build a 
.WAR, and deploy the application *inside* the portal running in the 
remote application container, in the folder /WEB-INF/deploy

Dennis

Raquel Cruz wrote:
> Hello everyone
>
> My application is done and now I want to deploy it to a server in another
> machine. How can I do that? Should I build a .war file with the application
> or should I just copy Jetspeed page into the server?
>
> Raquel
>
>   


-- 
Hippo  

d.dam@onehippo.com

Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1 (707) 773-4646

www.onehippo.com info@onehippo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: ResourceURL

Posted by Ate Douma <at...@douma.nu>.
Eugene Fabrikant wrote:
> Hi Folks,
> 
> Is there an example portlet out there, utilizing the ResourceURL feature
> in the JS 2.1.3 release? 
Take a look at WicketPortlet (wicket.apache.org)
I added the ResourceURL feature specifically to be used from Wicket based portlets.
The Wicket portlet support makes full usage of the ResourceURL (like for dynamically rendered images, javascript, Ajax etc.)

> 
> TIA,
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


ResourceURL

Posted by Eugene Fabrikant <eu...@bluenog.com>.
Hi Folks,

Is there an example portlet out there, utilizing the ResourceURL feature
in the JS 2.1.3 release? 

TIA,

-- 
Eugene Fabrikant
Bluenog




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org