Re: Remote Deployment: Connection Refused

2009-11-24 Thread chi runhua
If you want to deploy applications to B, then edit the value of
RemoteDeployHostname in config-subsitutions.properties file on B.

Then on A, use the deploy command like

./deploy.sh -host  -u system -p manager deploy 

BTW, Kevan opened a
JIRA(*GERONIMO-4959
*) for 2.1.4 Geronimo-Jetty assembly. You may want to try remote deploy on
Geronimo-Tomcat one.

Any questions, please let us know.

Jeff

On Wed, Nov 25, 2009 at 12:27 AM, MDiamond  wrote:

>
> On which machine should I change that information? A or B?
>
> I tried it on both in various combinations and still get the same error. As
> I understand it, I'm supposed to change it on B only, but, again, this
> results in the same error. Thoughts?
>
> P.S. If it matters, the relevant portion of my config.xml is (which I
> believe is the default):
> name="org.apache.geronimo.framework/geronimo-gbean-deployer/2.1.4/car">
>
> name="remoteDeployAddress">http://${RemoteDeployHostname}:${HTTPPort
> +PortOffset}
>
>
>
> --
> View this message in context:
> http://old.nabble.com/Remote-Deployment%3A-Connection-Refused-tp26421415s134p26498548.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>


Re: Remote Deployment: Connection Refused

2009-11-24 Thread MDiamond

On which machine should I change that information? A or B?

I tried it on both in various combinations and still get the same error. As
I understand it, I'm supposed to change it on B only, but, again, this
results in the same error. Thoughts?

P.S. If it matters, the relevant portion of my config.xml is (which I
believe is the default):


http://${RemoteDeployHostname}:${HTTPPort
+PortOffset}



-- 
View this message in context: 
http://old.nabble.com/Remote-Deployment%3A-Connection-Refused-tp26421415s134p26498548.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: ActiveMQ questions

2009-11-24 Thread easyl

I use geronimo 2.1.2.
It seems that the only way to configurate embedded AMQ is through
"ServerUrl".

For example:
tcp://localhost:61616?jms.copyMessageOnSend=false&jms.watchTopicAdvisories=false&socket.tcpNoDelay=true&wireFormat.tcpNoDelayEnabled=true


Now I want to completely disable advisory message. 
See: http://activemq.apache.org/advisory-message.html
The configuration is through XML config data.
  ...

How can I do that in geronimo? 
I try to follow the instructions from
http://activemq.apache.org/resource-adapter-properties.html

To add this in deploy plan...
xbean:config.xml

But geronimo can not handle xbean schema.
...did not start because Failed to startup an embedded broker:
xbean:config.xml, due to: java.io.IOException: Could load xbean
factory:java.lang.NoClassDefFoundError:
org/springframework/beans/BeansException





-- 
View this message in context: 
http://old.nabble.com/ActiveMQ-questions-tp6326283s134p26497537.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: JDBC4 Postgresql Driver fails to install

2009-11-24 Thread Ivan
About the exception shows while leaving it blank, the fix is also made with
the help messages changes together.

2009/11/24 Quintin Beukes 

> I might be missing something, but if you require it like this:
>org.postgresql
>   postgresql
>   8.4.701.jdbc4
>   jar
>
> And have this:
> > Group: org.postgresql
> > Artifact: postgresql
> > Version: 8.4-701
> > Type: jar
>
> It's not the same thing. The version's don't match (the reference has
> -jdbc4 in it).
>
> Quintin Beukes
>
>
>
> On Mon, Nov 23, 2009 at 1:55 PM, Juergen Weber  wrote:
> >
> > Hi,
> >
> > I just checked with 2.1.4, there the driver installs as
> >
> >  org.postgresql
> >postgresql
> >8.4.701.jdbc4
> >jar
> >
> > I rechecked with 2.2 with these IDs, the exception stays the same.
> >
> > Thanks,
> > Juergen
> >
> >
> > Juergen Weber wrote:
> >>
> >> Hi,
> >>
> >> I tried to install postgresql-8.4-701.jdbc4.jar to the repository of
> >> 2.2-SNAPSHOT
> >> Build 2009.11.22-08:16:13.118-0500
> >> as
> >>
> >> Group: org.postgresql
> >> Artifact: postgresql
> >> Version: 8.4-701
> >> Type: jar
> >> Name: postgresqljdbc
> >>
> >> and get the exception below. What is wrong? The Name: field is new,
> isn't
> >> it?
> >>
> >> Thanks,
> >> Juergen
> >>
> >> java.lang.IllegalArgumentException: id must be in the form
> >> [groupId]/[artifactId]/[version]/[type] : postgresqljdbc
> >>
> org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:61)
> >>
> >>
> org.apache.geronimo.kernel.repository.Artifact.createPartial(Artifact.java:55)
> >>
> >>
> org.apache.geronimo.system.resolver.ExplicitDefaultArtifactResolver.propertiesToArtifactMap(ExplicitDefaultArtifactResolver.java:98)
> >>
> >>
> org.apache.geronimo.system.resolver.ExplicitDefaultArtifactResolver.addAliases(ExplicitDefaultArtifactResolver.java:140)
> >>
> >>
> org.apache.geronimo.console.repository.RepositoryViewPortlet.processAction(RepositoryViewPortlet.java:203)
> >>
> org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218)
> >>
> org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:145)
> >>   javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> >>   javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >>
> >>
> org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
> >>
> >>
> org.apache.pluto.core.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:85)
> >>
> >>
> org.apache.pluto.core.PortletContainerImpl.doAction(PortletContainerImpl.java:217)
> >>
> >>
> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:121)
> >>
> >>
> org.apache.pluto.driver.PortalDriverServlet.doPost(PortalDriverServlet.java:167)
> >>   javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> >>   javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >>
> >>
> org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PlutoURLRebuildFilter.java:48)
> >>
> >>
> org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:130)
> >>
> >>
> >>
> >>
> >
> > --
> > View this message in context:
> http://old.nabble.com/IllegalArgumentException%3A-id-must-be-in-the-form-...-tp26467880s134p26476753.html
> > Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
> >
> >
>



-- 
Ivan


Re: JDBC4 Postgresql Driver fails to install

2009-11-24 Thread Quintin Beukes
I might be missing something, but if you require it like this:
   org.postgresql
   postgresql
   8.4.701.jdbc4
   jar

And have this:
> Group: org.postgresql
> Artifact: postgresql
> Version: 8.4-701
> Type: jar

It's not the same thing. The version's don't match (the reference has
-jdbc4 in it).

Quintin Beukes



On Mon, Nov 23, 2009 at 1:55 PM, Juergen Weber  wrote:
>
> Hi,
>
> I just checked with 2.1.4, there the driver installs as
>
>  org.postgresql
>                postgresql
>                8.4.701.jdbc4
>                jar
>
> I rechecked with 2.2 with these IDs, the exception stays the same.
>
> Thanks,
> Juergen
>
>
> Juergen Weber wrote:
>>
>> Hi,
>>
>> I tried to install postgresql-8.4-701.jdbc4.jar to the repository of
>> 2.2-SNAPSHOT
>> Build         2009.11.22-08:16:13.118-0500
>> as
>>
>> Group: org.postgresql
>> Artifact: postgresql
>> Version: 8.4-701
>> Type: jar
>> Name: postgresqljdbc
>>
>> and get the exception below. What is wrong? The Name: field is new, isn't
>> it?
>>
>> Thanks,
>> Juergen
>>
>> java.lang.IllegalArgumentException: id must be in the form
>> [groupId]/[artifactId]/[version]/[type] : postgresqljdbc
>>       org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:61)
>>
>> org.apache.geronimo.kernel.repository.Artifact.createPartial(Artifact.java:55)
>>
>> org.apache.geronimo.system.resolver.ExplicitDefaultArtifactResolver.propertiesToArtifactMap(ExplicitDefaultArtifactResolver.java:98)
>>
>> org.apache.geronimo.system.resolver.ExplicitDefaultArtifactResolver.addAliases(ExplicitDefaultArtifactResolver.java:140)
>>
>> org.apache.geronimo.console.repository.RepositoryViewPortlet.processAction(RepositoryViewPortlet.java:203)
>>       org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218)
>>       org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:145)
>>       javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
>>       javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>>
>> org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
>>
>> org.apache.pluto.core.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:85)
>>
>> org.apache.pluto.core.PortletContainerImpl.doAction(PortletContainerImpl.java:217)
>>
>> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:121)
>>
>> org.apache.pluto.driver.PortalDriverServlet.doPost(PortalDriverServlet.java:167)
>>       javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
>>       javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>>
>> org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PlutoURLRebuildFilter.java:48)
>>
>> org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:130)
>>
>>
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/IllegalArgumentException%3A-id-must-be-in-the-form-...-tp26467880s134p26476753.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>


Re: JDBC4 Postgresql Driver fails to install

2009-11-24 Thread Juergen Weber

OK, then if I don't want to replace an existing one but install new, the name
field should be empty?

But for an empty name field, I get the exception, too.

Greetings,
Juergen


Ivan Xu wrote:
> 
> It is a new feature of Geroinmo 2.2, it will allow you to replace an
> existed
> artifact with the intalled artifact in the runtime. The name should be in
> the format of group/artifact/version/type. I will add some help message on
> the page.
> 
> 2009/11/23 Juergen Weber 
> 
>>
>> Hi,
>>
>> I just checked with 2.1.4, there the driver installs as
>>
>>  org.postgresql
>>postgresql
>>8.4.701.jdbc4
>>jar
>>
>> I rechecked with 2.2 with these IDs, the exception stays the same.
>>
>> Thanks,
>> Juergen
>>
>>
>> Juergen Weber wrote:
>> >
>> > Hi,
>> >
>> > I tried to install postgresql-8.4-701.jdbc4.jar to the repository of
>> > 2.2-SNAPSHOT
>> > Build 2009.11.22-08:16:13.118-0500
>> > as
>> >
>> > Group: org.postgresql
>> > Artifact: postgresql
>> > Version: 8.4-701
>> > Type: jar
>> > Name: postgresqljdbc
>> >
>> > and get the exception below. What is wrong? The Name: field is new,
>> isn't
>> > it?
>> >
>> > Thanks,
>> > Juergen
>> >
>> > java.lang.IllegalArgumentException: id must be in the form
>> > [groupId]/[artifactId]/[version]/[type] : postgresqljdbc
>> >
>> org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:61)
>> >
>> >
>> org.apache.geronimo.kernel.repository.Artifact.createPartial(Artifact.java:55)
>> >
>> >
>> org.apache.geronimo.system.resolver.ExplicitDefaultArtifactResolver.propertiesToArtifactMap(ExplicitDefaultArtifactResolver.java:98)
>> >
>> >
>> org.apache.geronimo.system.resolver.ExplicitDefaultArtifactResolver.addAliases(ExplicitDefaultArtifactResolver.java:140)
>> >
>> >
>> org.apache.geronimo.console.repository.RepositoryViewPortlet.processAction(RepositoryViewPortlet.java:203)
>> >
>> org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218)
>> >
>> org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:145)
>> >   javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
>> >   javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>> >
>> >
>> org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
>> >
>> >
>> org.apache.pluto.core.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:85)
>> >
>> >
>> org.apache.pluto.core.PortletContainerImpl.doAction(PortletContainerImpl.java:217)
>> >
>> >
>> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:121)
>> >
>> >
>> org.apache.pluto.driver.PortalDriverServlet.doPost(PortalDriverServlet.java:167)
>> >   javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
>> >   javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>> >
>> >
>> org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PlutoURLRebuildFilter.java:48)
>> >
>> >
>> org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:130)
>> >
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/IllegalArgumentException%3A-id-must-be-in-the-form-...-tp26467880s134p26476753.html
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Ivan
> 
> 

-- 
View this message in context: 
http://old.nabble.com/IllegalArgumentException%3A-id-must-be-in-the-form-...-tp26467880s134p26492415.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.