You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by yo...@wipro.com on 2008/02/04 09:06:58 UTC

RE: Facing issues while deploying Apache ServiceMix 3.2.1 WAR file in Apache Geronimo 2.0.2.

Hi,

Thanks a lot for the response!

Is the SNAPSHOT gets deployed on the site?

Please let me know.

Thanks,
Yogesh

-----Original Message-----
From: chris.custine@gmail.com [mailto:chris.custine@gmail.com] On Behalf
Of Chris Custine
Sent: Friday, February 01, 2008 1:59 AM
To: users@servicemix.apache.org
Cc: SIDDHARTHA CHANDURKAR (WT01 - Computing, Storage & Software
Products); Ahmadbasha Shaik (WT01 - Computing, Storage & Software
Products)
Subject: Re: Facing issues while deploying Apache ServiceMix 3.2.1 WAR
file in Apache Geronimo 2.0.2.

Right now the fix is only in svn (branches/servicemix-3.2.x and trunk).
I will try to get some snapshots deployed tonight.

Chris

On Jan 31, 2008 1:17 PM, <yo...@wipro.com> wrote:

> Hi,
>
> Thanks for great help !
>
> Have you checked-in the latest WAR file? Please let me know.
>
> Yes, The Apache ServiceMix WAR, its Components (Service Engines, 
> Shared Libraries and Binding components) are running on it.
> Yes, I have restarted the Geronimo.
>
> Thanks,
> Yogesh
>
> -----Original Message-----
> From: chris.custine@gmail.com [mailto:chris.custine@gmail.com] On 
> Behalf Of Chris Custine
> Sent: Friday, February 01, 2008 12:44 AM
> To: users@servicemix.apache.org
> Cc: SIDDHARTHA CHANDURKAR (WT01 - Computing, Storage & Software 
> Products); Ahmadbasha Shaik (WT01 - Computing, Storage & Software
> Products)
> Subject: Re: Facing issues while deploying Apache ServiceMix 3.2.1 WAR

> file in Apache Geronimo 2.0.2.
>
> I fixed https://issues.apache.org/activemq/browse/SM-1214 by changing 
> the short name to a valid string.  It looks like those files were 
> added last year to fix some other issue so I didn't want to remove
them.
>
> Your first error below looks like a known Geronimo issue, but from 
> what I understand it can be ignored:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=44261
>
> The second issue could any number of things.  Do you have other apps 
> running on this Geronimo instance and did you restart Geronimo after 
> the previous deployment attempts?
>
> Chris
>
> On Jan 31, 2008 11:19 AM, <yo...@wipro.com> wrote:
>
> > Hi,
> >
> > Thanks for the quick response !
> >
> > I removed the TLD from the TLDs "sitemesh-page.tld and 
> > sitemesh-decorator.tld" from WEB-INF. Then I got the following
error:
> >
> > <<org.apache.geronimo.common.DeploymentException: Could not find TLD

> > file at file:/D:/geronimo-tomcat6-jee5-2.0.2/repository/de
> >
>
fault/apache-servicemix-web-3.2.1/1201801563876/apache-servicemix-web-3.
> > 2.1-1201801563876.war/WEB-INF/sitemesh-decorator.tld>>
> >
> > Solution Applied
> > ================
> >
> > As you said, that TLDs in sitemash.jar file are proper, so I copied 
> > the TLDs from the JAR to WEB-INF.
> > Now, I am getting the following errors:
> >
> > Error 1:
> > ========
> >
> >  <<Module 14/38 org.apache.geronimo.configs/tomcat6/2.0.2/car
> >
> > 23:40:26,742 ERROR [[/]] "Restricted listeners property file not
> > found>>
> >
> > Error 2:
> > ========
> >
> > <<23:41:57,164 ERROR [[jsp]] Servlet.service() for servlet jsp threw

> > exception
> > java.lang.OutOfMemoryError: PermGen space
> > 23:42:00,564 ERROR [CoyoteAdapter] An exception or error occurred in

> > the container during the request processing
> > java.lang.OutOfMemoryError: PermGen space
> > 23:42:25,873 WARN  [ActiveMQConnection] Async exception with no 
> > exception listener: org.apache.activemq.transport.InactivityI
> > OException: Channel was inactive for too long.
> > 23:42:29,101 WARN  [TransportConnection] Failed to remove consumer:
> > ID:gdc-WT-4A10-1289-1201803017481-3:1:1:1. Reason: java.l
> > ang.OutOfMemoryError: PermGen space
> > java.lang.OutOfMemoryError: PermGen space Exception in thread "RMI 
> > RenewClean-[10.105.115.139:9999]"
> > java.lang.OutOfMemoryError: PermGen space Exception in thread 
> > "Persistence Adaptor Task"
> > java.lang.OutOfMemoryError: PermGen space Exception in thread 
> > "myTimerEvent" java.lang.OutOfMemoryError: PermGen
> > space>>
> >
> > Please provide your help.
> >
> > Regards,
> > Yogesh
> >
> >
> > -----Original Message-----
> > From: chris.custine@gmail.com [mailto:chris.custine@gmail.com] On 
> > Behalf Of Chris Custine
> > Sent: Thursday, January 31, 2008 10:54 PM
> > To: users@servicemix.apache.org
> > Cc: SIDDHARTHA CHANDURKAR (WT01 - Computing, Storage & Software 
> > Products); Ahmadbasha Shaik (WT01 - Computing, Storage & Software
> > Products)
> > Subject: Re: Facing issues while deploying Apache ServiceMix 3.2.1 
> > WAR
>
> > file in Apache Geronimo 2.0.2.
> >
> > I have seen this come up several times on the mailing list in the 
> > last
>
> > 6 months, so I suspect that some of the newer servlet containers are

> > validating the tld better these days.  The problem is that the 
> > sitemesh-decorator.tld that is included in the WEB-INF dir of the 
> > webapp is invalid since it has whitespace in the short-name tag.  
> > The Sitemesh jar file has a valid TLD in it already so I am going to

> > try removing the older invalid TLD files from the web app.
> >
> > I created an issue for this here:
> > https://issues.apache.org/activemq/browse/SM-1214
> >
> > Thanks,
> > Chris
> >
> > On Jan 31, 2008 8:25 AM, <yo...@wipro.com> wrote:
> >
> > >  Hi,
> > >
> > > We are facing issues while deploying Apache ServiceMix 3.2.1 WAR 
> > > file in Apache Geronimo 2.0.2.
> > >
> > > Following are the details on the environment we are using, steps 
> > > that we performed, the error that we are getting and the various 
> > > workarounds tried by us:
> > >
> > > Environment Details:
> > > ==============
> > > Operating System : Windows XP (Version 2002, Service Pack 2) JDK :
> > > JDK
> >
> > > 1.5.0_06 Application Server : Apache Geronimo version 2.0.2 (
> > > geronimo-tomcat6-jee5-2.0.2)
> > > ESB : Apache ServiceMix version 3.2.1
> > >
> > > Steps Performed:
> > > ============
> > > We have to run Apache ServiceMix in Apache Geronimo, so we 
> > > downloaded the ServiceMix WAR file (Apache ServiceMix Web 
> > > Application 3.2.1
> > > (.war)) from the following URL:
> > >
> > >
> *http://servicemix.apache.org/download.html*<http://servicemix.apache.
> > > org/download.html>
> > >
> > > After deployment from Geronimo Web Interface, the following 
> > > message gets displayed on Geronimo:
> > > The application was successfully deployed.
> > > The application was successfully started.
> > > After successful deployment, we have accessed the following URL 
> > > and see the ServiceMix Web Interface:
> > >
> *http://localhost:8080/apache-servicemix-web-3.2.1/*<http://localhost:
> > > 8080/apache-servicemix-web-3.2.1/>
> > >
> > > But, we are getting the following errors on the Geronimo Server
> > console:
> > >
> > > << error: cvc-datatype-valid.1.1: string value 'SiteMesh Decorator
> > Tags'
> > > does not match pattern for tld-canonical-nameType in namespace *
> > > http://java.sun.com/xml/ns/javaee*
> > > <http://java.sun.com/xml/ns/javaee>
> >
> > > >>
> > >
> > > Detailed errors are attached in this mail.
> > >
> > > Please provide your help.
> > >
> > > Regards,
> > > Yogesh
> > >
> > > <<Deploying ServiceMix WAR on Geronimo.txt>>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > *P** Please do not print this email unless it is absolutely
> necessary.
> > > Spread environmental awareness.*
> > >
> > > The information contained in this electronic message and any 
> > > attachments to this message are intended for the exclusive use of 
> > > the
> > > addressee(s) and may contain proprietary, confidential or 
> > > privileged
>
> > > information. If you are not the intended recipient, you should not

> > > disseminate, distribute or copy this e-mail. Please notify the 
> > > sender immediately and destroy all copies of this message and any
> > attachments.
> > >
> > > WARNING: Computer viruses can be transmitted via email. The 
> > > recipient should check this email and any attachments for the 
> > > presence of viruses. The company accepts no liability for any 
> > > damage
>
> > > caused by any
> >
> > > virus transmitted by this email.
> > >
> > > www.wipro.com
> > >
> >
> > Please do not print this email unless it is absolutely necessary.
> > Spread environmental awareness.
> >
> > The information contained in this electronic message and any 
> > attachments to this message are intended for the exclusive use of 
> > the
> > addressee(s) and may contain proprietary, confidential or privileged

> > information. If you are not the intended recipient, you should not 
> > disseminate, distribute or copy this e-mail. Please notify the 
> > sender immediately and destroy all copies of this message and any
> attachments.
> >
> > WARNING: Computer viruses can be transmitted via email. The 
> > recipient should check this email and any attachments for the 
> > presence of viruses. The company accepts no liability for any damage

> > caused by any
>
> > virus transmitted by this email.
> >
> > www.wipro.com
> >
>
> Please do not print this email unless it is absolutely necessary. 
> Spread environmental awareness.
>
> The information contained in this electronic message and any 
> attachments to this message are intended for the exclusive use of the 
> addressee(s) and may contain proprietary, confidential or privileged 
> information. If you are not the intended recipient, you should not 
> disseminate, distribute or copy this e-mail. Please notify the sender 
> immediately and destroy all copies of this message and any
attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient 
> should check this email and any attachments for the presence of 
> viruses. The company accepts no liability for any damage caused by any

> virus transmitted by this email.
>
> www.wipro.com
>

Please do not print this email unless it is absolutely necessary. Spread environmental awareness.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

RE: Facing issues while deploying Apache ServiceMix 3.2.1 WAR file in Apache Geronimo 2.0.2.

Posted by yo...@wipro.com.
Hi,

Thanks a lot for your reply! 

Yes, I have tried with the new 3.2.2-SNAPSHOT versions.

I have read from one of the Nabble forums that:
When Servicemix is running standalone, it runs on jetty and port number
is 8192.
When Servicemix is running in Geronimo, it uses Tomcat (as I am using -
Geronimo 2.0.2 with Tomcat 6 (zip)) and port number is 8443. 

Options tried
==============

1. I modified the client.html (examples/bridge and examples/wsdl-first)
and changed the URL as http://localhost:8443/bridge/ and
http://localhost:8443/PersonService/

And, I got the status code as "200" that means it is able to find the
component running in tomcat at port number 8443, but the response
message that is coming back is some weird characters "" for both
examples.While, when the servicemix is running standalone, the proper
response comes back.

2. Modified the xbean.xml (for bridge and wsdl-first examples) and
person.wsdl for the port number changes from 8192 to 8443). Then rebuild
using maven.

Still, I got status code as "200", but response is the same weird
characters "".

What we want to achieve
=======================

We want to run Servicemix in Geronimo. Deploy the Servicemix components
in Geronimo and access the components running inside Geronimo using HTTP
requests (using web browser). 

Please help me.

Thanks,
Yogesh

-----Original Message-----
From: chris.custine@gmail.com [mailto:chris.custine@gmail.com] On Behalf
Of Chris Custine
Sent: Tuesday, February 05, 2008 1:58 AM
To: users@servicemix.apache.org
Cc: SIDDHARTHA CHANDURKAR (WT01 - Computing, Storage & Software
Products); Ahmadbasha Shaik (WT01 - Computing, Storage & Software
Products)
Subject: Re: Facing issues while deploying Apache ServiceMix 3.2.1 WAR
file in Apache Geronimo 2.0.2.

Responses inline below....

On Feb 4, 2008 10:47 AM, <yo...@wipro.com> wrote:

> Hi Chris,
>
> Thanks a lot !
>
> The WAR file gets deployed successfully with the following Warnings on

> the console:
>
> <<
> 1. WARN  [TomcatModuleBuilder] Web application . does not contain a 
> WEB-INF/geronimo-web.xml deployment plan.  This may or may not be a 
> problem, depending on whether you have things like resource references

> that need to be resolved.  You can also give the deployer a separate 
> deployment plan file on the command line.


I believe this is harmless because all of the resources used by
ServiceMix are internal.


>
>
> 2. WARN  [EndpointRegistry] Disabled endpoint processor
> 'org.apache.servicemix.jbi.framework.support.WSDL2Processor':
> java.lang.NoClassDefFoundError: org/apache/woden/WSDLReader


The woden jar is marked as optional in servicemix-core pom.xml so the
war packaging will not include it unless it is specified explicitly.
The code treats this as a warning and looks harmless, so I would ignore
this.  Maybe someone else has info on this warning.


> 3. WARN  [ClientFactory] Cound not start ClientFactory:
> javax.naming.NotContextException: The intermediate context 
> ClientFactory does not exist
> >>


This is a known issue and will not cause you issues unless you need to
gain access to the ClientFactory from another application on the same
app server instance.


>
> As told by you earlier, there is no impact of first warning. Please do

> correct me if I am wrong. Does Warning 2 & 3 can have any impact?
>
> Steps followed to deploy/install Servicemix 3.2.1 components on Apache

> Geronimo 2.0.2 
> ======================================================================
> ==
> ==============
>
> From the Servicemix Web Interface (WAR file) deployed on Geronimo, I 
> have browsed, installed and started the following components from the 
> "hotdeploy" folder of servicemix 3.2.1 binaries:
>
> 1. From the Shared Library menu - 
> servicemix-shared-3.2.1-installer.zip
> 2. From the Components menu - servicemix-http-3.2.1-installer.zip,
> servicemix-jms-3.2.1-installer.zip, servicemix-eip-3.2.1-installer.zip
> and servicemix-saxon-3.2.1-installer.zip.
>
> Deploying the sample Servicemix example - bridge browsed, deployed and

> started(from examples\bridge folder) 
> ======================================================================
> ==
> ====================================
>
> 1. From the Service Assemblies menu - bridge-sa-3.2.1.zip.
>
> Now, when I tried to access the bridge example from the client.html 
> from the examples/bridge folder using URL 
> http://localhost:8192/bridge/, it is giving me status code - 12029 as
response.
>
> I have searched the internet and found that either the
"servicemix-http"
> component or servicemix itself is not started. However, the 
> "servicemix-http" component gets started successfully, as shown on the

> Servicemix web interface. But I am not sure how to check whether 
> servicemix is started or not.


I think ServiceMix is starting otherwise servicemix-http would not.
However I think there is still a problem with the servicemix-http or
bridge-sa deployment, possibly they are running but could not open the
port 8192 or something of that nature.  I would check the logs for
messages regarding these deployments again and post here if you find
anything unusual.  I am also wondering if you have tried the new
3.2.2-SNAPSHOT versions of these deployments to match the main
servicemix war deployment.

Thanks,
Chris


>
> Could you please tell me how to resolve this issue? Am I accessing the

> proper URL or why the servicemix is not getting started?
>
> Please help me.
>
> Thanks,
> Yogesh
>
>

Please do not print this email unless it is absolutely necessary. Spread environmental awareness.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

Re: Facing issues while deploying Apache ServiceMix 3.2.1 WAR file in Apache Geronimo 2.0.2.

Posted by Chris Custine <cc...@apache.org>.
Responses inline below....

On Feb 4, 2008 10:47 AM, <yo...@wipro.com> wrote:

> Hi Chris,
>
> Thanks a lot !
>
> The WAR file gets deployed successfully with the following Warnings on
> the console:
>
> <<
> 1. WARN  [TomcatModuleBuilder] Web application . does not contain a
> WEB-INF/geronimo-web.xml deployment plan.  This may or may not be a
> problem, depending on whether you have things like resource references
> that need to be resolved.  You can also give the deployer a separate
> deployment plan file on the command line.


I believe this is harmless because all of the resources used by ServiceMix
are internal.


>
>
> 2. WARN  [EndpointRegistry] Disabled endpoint processor
> 'org.apache.servicemix.jbi.framework.support.WSDL2Processor':
> java.lang.NoClassDefFoundError: org/apache/woden/WSDLReader


The woden jar is marked as optional in servicemix-core pom.xml so the war
packaging will not include it unless it is specified explicitly.  The code
treats this as a warning and looks harmless, so I would ignore this.  Maybe
someone else has info on this warning.


> 3. WARN  [ClientFactory] Cound not start ClientFactory:
> javax.naming.NotContextException: The intermediate context ClientFactory
> does not exist
> >>


This is a known issue and will not cause you issues unless you need to gain
access to the ClientFactory from another application on the same app server
instance.


>
> As told by you earlier, there is no impact of first warning. Please do
> correct me if I am wrong. Does Warning 2 & 3 can have any impact?
>
> Steps followed to deploy/install Servicemix 3.2.1 components on Apache
> Geronimo 2.0.2
> ========================================================================
> ==============
>
> From the Servicemix Web Interface (WAR file) deployed on Geronimo, I
> have browsed, installed and started the following components from the
> "hotdeploy" folder of servicemix 3.2.1 binaries:
>
> 1. From the Shared Library menu - servicemix-shared-3.2.1-installer.zip
> 2. From the Components menu - servicemix-http-3.2.1-installer.zip,
> servicemix-jms-3.2.1-installer.zip, servicemix-eip-3.2.1-installer.zip
> and servicemix-saxon-3.2.1-installer.zip.
>
> Deploying the sample Servicemix example - bridge browsed, deployed and
> started(from examples\bridge folder)
> ========================================================================
> ====================================
>
> 1. From the Service Assemblies menu - bridge-sa-3.2.1.zip.
>
> Now, when I tried to access the bridge example from the client.html from
> the examples/bridge folder using URL http://localhost:8192/bridge/, it
> is giving me status code - 12029 as response.
>
> I have searched the internet and found that either the "servicemix-http"
> component or servicemix itself is not started. However, the
> "servicemix-http" component gets started successfully, as shown on the
> Servicemix web interface. But I am not sure how to check whether
> servicemix is started or not.


I think ServiceMix is starting otherwise servicemix-http would not.  However
I think there is still a problem with the servicemix-http or bridge-sa
deployment, possibly they are running but could not open the port 8192 or
something of that nature.  I would check the logs for messages regarding
these deployments again and post here if you find anything unusual.  I am
also wondering if you have tried the new 3.2.2-SNAPSHOT versions of these
deployments to match the main servicemix war deployment.

Thanks,
Chris


>
> Could you please tell me how to resolve this issue? Am I accessing the
> proper URL or why the servicemix is not getting started?
>
> Please help me.
>
> Thanks,
> Yogesh
>
>

RE: Facing issues while deploying Apache ServiceMix 3.2.1 WAR file in Apache Geronimo 2.0.2.

Posted by yo...@wipro.com.
Hi Chris,

Thanks a lot !

The WAR file gets deployed successfully with the following Warnings on
the console:

<<
1. WARN  [TomcatModuleBuilder] Web application . does not contain a
WEB-INF/geronimo-web.xml deployment plan.  This may or may not be a
problem, depending on whether you have things like resource references
that need to be resolved.  You can also give the deployer a separate
deployment plan file on the command line.

2. WARN  [EndpointRegistry] Disabled endpoint processor
'org.apache.servicemix.jbi.framework.support.WSDL2Processor':
java.lang.NoClassDefFoundError: org/apache/woden/WSDLReader
3. WARN  [ClientFactory] Cound not start ClientFactory:
javax.naming.NotContextException: The intermediate context ClientFactory
does not exist
>>

As told by you earlier, there is no impact of first warning. Please do
correct me if I am wrong. Does Warning 2 & 3 can have any impact?

Steps followed to deploy/install Servicemix 3.2.1 components on Apache
Geronimo 2.0.2
========================================================================
==============

>From the Servicemix Web Interface (WAR file) deployed on Geronimo, I
have browsed, installed and started the following components from the
"hotdeploy" folder of servicemix 3.2.1 binaries:

1. From the Shared Library menu - servicemix-shared-3.2.1-installer.zip
2. From the Components menu - servicemix-http-3.2.1-installer.zip,
servicemix-jms-3.2.1-installer.zip, servicemix-eip-3.2.1-installer.zip
and servicemix-saxon-3.2.1-installer.zip.

Deploying the sample Servicemix example - bridge browsed, deployed and
started(from examples\bridge folder)
========================================================================
====================================

1. From the Service Assemblies menu - bridge-sa-3.2.1.zip.

Now, when I tried to access the bridge example from the client.html from
the examples/bridge folder using URL http://localhost:8192/bridge/, it
is giving me status code - 12029 as response.

I have searched the internet and found that either the "servicemix-http"
component or servicemix itself is not started. However, the
"servicemix-http" component gets started successfully, as shown on the
Servicemix web interface. But I am not sure how to check whether
servicemix is started or not.

Could you please tell me how to resolve this issue? Am I accessing the
proper URL or why the servicemix is not getting started?

Please help me.

Thanks,
Yogesh 

-----Original Message-----
From: chris.custine@gmail.com [mailto:chris.custine@gmail.com] On Behalf
Of Chris Custine
Sent: Monday, February 04, 2008 10:30 PM
To: users@servicemix.apache.org
Cc: SIDDHARTHA CHANDURKAR (WT01 - Computing, Storage & Software
Products); Ahmadbasha Shaik (WT01 - Computing, Storage & Software
Products)
Subject: Re: Facing issues while deploying Apache ServiceMix 3.2.1 WAR
file in Apache Geronimo 2.0.2.

Hi Yogesh,
I deployed 3.2.2-SNAPSHOT yesterday to the snapshot repo here:
http://people.apache.org/repo/m2-snapshot-repository

You can find the war deployment here:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicem
ix/apache-servicemix-web/3.2.2-SNAPSHOT/

Give it a try and let me know if this works for you.

Chris

On Feb 4, 2008 1:06 AM, <yo...@wipro.com> wrote:

> Hi,
>
> Thanks a lot for the response!
>
> Is the SNAPSHOT gets deployed on the site?
>
> Please let me know.
>
> Thanks,
> Yogesh
>
> -----Original Message-----
> From: chris.custine@gmail.com [mailto:chris.custine@gmail.com] On 
> Behalf Of Chris Custine
> Sent: Friday, February 01, 2008 1:59 AM
> To: users@servicemix.apache.org
> Cc: SIDDHARTHA CHANDURKAR (WT01 - Computing, Storage & Software 
> Products); Ahmadbasha Shaik (WT01 - Computing, Storage & Software
> Products)
> Subject: Re: Facing issues while deploying Apache ServiceMix 3.2.1 WAR

> file in Apache Geronimo 2.0.2.
>
> Right now the fix is only in svn (branches/servicemix-3.2.x and
trunk).
> I will try to get some snapshots deployed tonight.
>
> Chris
>
> On Jan 31, 2008 1:17 PM, <yo...@wipro.com> wrote:
>
> > Hi,
> >
> > Thanks for great help !
> >
> > Have you checked-in the latest WAR file? Please let me know.
> >
> > Yes, The Apache ServiceMix WAR, its Components (Service Engines, 
> > Shared Libraries and Binding components) are running on it.
> > Yes, I have restarted the Geronimo.
> >
> > Thanks,
> > Yogesh
> >
> > -----Original Message-----
> > From: chris.custine@gmail.com [mailto:chris.custine@gmail.com] On 
> > Behalf Of Chris Custine
> > Sent: Friday, February 01, 2008 12:44 AM
> > To: users@servicemix.apache.org
> > Cc: SIDDHARTHA CHANDURKAR (WT01 - Computing, Storage & Software 
> > Products); Ahmadbasha Shaik (WT01 - Computing, Storage & Software
> > Products)
> > Subject: Re: Facing issues while deploying Apache ServiceMix 3.2.1 
> > WAR
>
> > file in Apache Geronimo 2.0.2.
> >
> > I fixed https://issues.apache.org/activemq/browse/SM-1214 by 
> > changing the short name to a valid string.  It looks like those 
> > files were added last year to fix some other issue so I didn't want 
> > to remove
> them.
> >
> > Your first error below looks like a known Geronimo issue, but from 
> > what I understand it can be ignored:
> > http://issues.apache.org/bugzilla/show_bug.cgi?id=44261
> >
> > The second issue could any number of things.  Do you have other apps

> > running on this Geronimo instance and did you restart Geronimo after

> > the previous deployment attempts?
> >
> > Chris
> >
> > On Jan 31, 2008 11:19 AM, <yo...@wipro.com> wrote:
> >
> > > Hi,
> > >
> > > Thanks for the quick response !
> > >
> > > I removed the TLD from the TLDs "sitemesh-page.tld and 
> > > sitemesh-decorator.tld" from WEB-INF. Then I got the following
> error:
> > >
> > > <<org.apache.geronimo.common.DeploymentException: Could not find 
> > > TLD
>
> > > file at file:/D:/geronimo-tomcat6-jee5-2.0.2/repository/de
> > >
> >
>
fault/apache-servicemix-web-3.2.1/1201801563876/apache-servicemix-web-3.
> > > 2.1-1201801563876.war/WEB-INF/sitemesh-decorator.tld>>
> > >
> > > Solution Applied
> > > ================
> > >
> > > As you said, that TLDs in sitemash.jar file are proper, so I 
> > > copied the TLDs from the JAR to WEB-INF.
> > > Now, I am getting the following errors:
> > >
> > > Error 1:
> > > ========
> > >
> > >  <<Module 14/38 org.apache.geronimo.configs/tomcat6/2.0.2/car
> > >
> > > 23:40:26,742 ERROR [[/]] "Restricted listeners property file not
> > > found>>
> > >
> > > Error 2:
> > > ========
> > >
> > > <<23:41:57,164 ERROR [[jsp]] Servlet.service() for servlet jsp 
> > > threw
>
> > > exception
> > > java.lang.OutOfMemoryError: PermGen space
> > > 23:42:00,564 ERROR [CoyoteAdapter] An exception or error occurred 
> > > in
>
> > > the container during the request processing
> > > java.lang.OutOfMemoryError: PermGen space
> > > 23:42:25,873 WARN  [ActiveMQConnection] Async exception with no 
> > > exception listener: org.apache.activemq.transport.InactivityI
> > > OException: Channel was inactive for too long.
> > > 23:42:29,101 WARN  [TransportConnection] Failed to remove
consumer:
> > > ID:gdc-WT-4A10-1289-1201803017481-3:1:1:1. Reason: java.l
> > > ang.OutOfMemoryError: PermGen space
> > > java.lang.OutOfMemoryError: PermGen space Exception in thread "RMI

> > > RenewClean-[10.105.115.139:9999]"
> > > java.lang.OutOfMemoryError: PermGen space Exception in thread 
> > > "Persistence Adaptor Task"
> > > java.lang.OutOfMemoryError: PermGen space Exception in thread 
> > > "myTimerEvent" java.lang.OutOfMemoryError: PermGen
> > > space>>
> > >
> > > Please provide your help.
> > >
> > > Regards,
> > > Yogesh
> > >
> > >
> > > -----Original Message-----
> > > From: chris.custine@gmail.com [mailto:chris.custine@gmail.com] On 
> > > Behalf Of Chris Custine
> > > Sent: Thursday, January 31, 2008 10:54 PM
> > > To: users@servicemix.apache.org
> > > Cc: SIDDHARTHA CHANDURKAR (WT01 - Computing, Storage & Software 
> > > Products); Ahmadbasha Shaik (WT01 - Computing, Storage & Software
> > > Products)
> > > Subject: Re: Facing issues while deploying Apache ServiceMix 3.2.1

> > > WAR
> >
> > > file in Apache Geronimo 2.0.2.
> > >
> > > I have seen this come up several times on the mailing list in the 
> > > last
> >
> > > 6 months, so I suspect that some of the newer servlet containers 
> > > are
>
> > > validating the tld better these days.  The problem is that the 
> > > sitemesh-decorator.tld that is included in the WEB-INF dir of the 
> > > webapp is invalid since it has whitespace in the short-name tag.
> > > The Sitemesh jar file has a valid TLD in it already so I am going 
> > > to
>
> > > try removing the older invalid TLD files from the web app.
> > >
> > > I created an issue for this here:
> > > https://issues.apache.org/activemq/browse/SM-1214
> > >
> > > Thanks,
> > > Chris
> > >
> > > On Jan 31, 2008 8:25 AM, <yo...@wipro.com> wrote:
> > >
> > > >  Hi,
> > > >
> > > > We are facing issues while deploying Apache ServiceMix 3.2.1 WAR

> > > > file in Apache Geronimo 2.0.2.
> > > >
> > > > Following are the details on the environment we are using, steps

> > > > that we performed, the error that we are getting and the various

> > > > workarounds tried by us:
> > > >
> > > > Environment Details:
> > > > ==============
> > > > Operating System : Windows XP (Version 2002, Service Pack 2) JDK
:
> > > > JDK
> > >
> > > > 1.5.0_06 Application Server : Apache Geronimo version 2.0.2 (
> > > > geronimo-tomcat6-jee5-2.0.2)
> > > > ESB : Apache ServiceMix version 3.2.1
> > > >
> > > > Steps Performed:
> > > > ============
> > > > We have to run Apache ServiceMix in Apache Geronimo, so we 
> > > > downloaded the ServiceMix WAR file (Apache ServiceMix Web 
> > > > Application 3.2.1
> > > > (.war)) from the following URL:
> > > >
> > > >
> >
*http://servicemix.apache.org/download.html*<http://servicemix.apache.
> > > > org/download.html>
> > > >
> > > > After deployment from Geronimo Web Interface, the following 
> > > > message gets displayed on Geronimo:
> > > > The application was successfully deployed.
> > > > The application was successfully started.
> > > > After successful deployment, we have accessed the following URL 
> > > > and see the ServiceMix Web Interface:
> > > >
> >
*http://localhost:8080/apache-servicemix-web-3.2.1/*<http://localhost:
> > > > 8080/apache-servicemix-web-3.2.1/>
> > > >
> > > > But, we are getting the following errors on the Geronimo Server
> > > console:
> > > >
> > > > << error: cvc-datatype-valid.1.1: string value 'SiteMesh 
> > > > Decorator
> > > Tags'
> > > > does not match pattern for tld-canonical-nameType in namespace *
> > > > http://java.sun.com/xml/ns/javaee*
> > > > <http://java.sun.com/xml/ns/javaee>
> > >
> > > > >>
> > > >
> > > > Detailed errors are attached in this mail.
> > > >
> > > > Please provide your help.
> > > >
> > > > Regards,
> > > > Yogesh
> > > >
> > > > <<Deploying ServiceMix WAR on Geronimo.txt>>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > *P** Please do not print this email unless it is absolutely
> > necessary.
> > > > Spread environmental awareness.*
> > > >
> > > > The information contained in this electronic message and any 
> > > > attachments to this message are intended for the exclusive use 
> > > > of the
> > > > addressee(s) and may contain proprietary, confidential or 
> > > > privileged
> >
> > > > information. If you are not the intended recipient, you should 
> > > > not
>
> > > > disseminate, distribute or copy this e-mail. Please notify the 
> > > > sender immediately and destroy all copies of this message and 
> > > > any
> > > attachments.
> > > >
> > > > WARNING: Computer viruses can be transmitted via email. The 
> > > > recipient should check this email and any attachments for the 
> > > > presence of viruses. The company accepts no liability for any 
> > > > damage
> >
> > > > caused by any
> > >
> > > > virus transmitted by this email.
> > > >
> > > > www.wipro.com
> > > >
> > >
> > > Please do not print this email unless it is absolutely necessary.
> > > Spread environmental awareness.
> > >
> > > The information contained in this electronic message and any 
> > > attachments to this message are intended for the exclusive use of 
> > > the
> > > addressee(s) and may contain proprietary, confidential or 
> > > privileged
>
> > > information. If you are not the intended recipient, you should not

> > > disseminate, distribute or copy this e-mail. Please notify the 
> > > sender immediately and destroy all copies of this message and any
> > attachments.
> > >
> > > WARNING: Computer viruses can be transmitted via email. The 
> > > recipient should check this email and any attachments for the 
> > > presence of viruses. The company accepts no liability for any 
> > > damage
>
> > > caused by any
> >
> > > virus transmitted by this email.
> > >
> > > www.wipro.com
> > >
> >
> > Please do not print this email unless it is absolutely necessary.
> > Spread environmental awareness.
> >
> > The information contained in this electronic message and any 
> > attachments to this message are intended for the exclusive use of 
> > the
> > addressee(s) and may contain proprietary, confidential or privileged

> > information. If you are not the intended recipient, you should not 
> > disseminate, distribute or copy this e-mail. Please notify the 
> > sender immediately and destroy all copies of this message and any
> attachments.
> >
> > WARNING: Computer viruses can be transmitted via email. The 
> > recipient should check this email and any attachments for the 
> > presence of viruses. The company accepts no liability for any damage

> > caused by any
>
> > virus transmitted by this email.
> >
> > www.wipro.com
> >
>
> Please do not print this email unless it is absolutely necessary. 
> Spread environmental awareness.
>
> The information contained in this electronic message and any 
> attachments to this message are intended for the exclusive use of the 
> addressee(s) and may contain proprietary, confidential or privileged 
> information. If you are not the intended recipient, you should not 
> disseminate, distribute or copy this e-mail. Please notify the sender 
> immediately and destroy all copies of this message and any
attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient 
> should check this email and any attachments for the presence of 
> viruses. The company accepts no liability for any damage caused by any

> virus transmitted by this email.
>
> www.wipro.com
>

Please do not print this email unless it is absolutely necessary. Spread environmental awareness.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

Re: Facing issues while deploying Apache ServiceMix 3.2.1 WAR file in Apache Geronimo 2.0.2.

Posted by Chris Custine <cc...@apache.org>.
Hi Yogesh,
I deployed 3.2.2-SNAPSHOT yesterday to the snapshot repo here:
http://people.apache.org/repo/m2-snapshot-repository

You can find the war deployment here:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/apache-servicemix-web/3.2.2-SNAPSHOT/

Give it a try and let me know if this works for you.

Chris

On Feb 4, 2008 1:06 AM, <yo...@wipro.com> wrote:

> Hi,
>
> Thanks a lot for the response!
>
> Is the SNAPSHOT gets deployed on the site?
>
> Please let me know.
>
> Thanks,
> Yogesh
>
> -----Original Message-----
> From: chris.custine@gmail.com [mailto:chris.custine@gmail.com] On Behalf
> Of Chris Custine
> Sent: Friday, February 01, 2008 1:59 AM
> To: users@servicemix.apache.org
> Cc: SIDDHARTHA CHANDURKAR (WT01 - Computing, Storage & Software
> Products); Ahmadbasha Shaik (WT01 - Computing, Storage & Software
> Products)
> Subject: Re: Facing issues while deploying Apache ServiceMix 3.2.1 WAR
> file in Apache Geronimo 2.0.2.
>
> Right now the fix is only in svn (branches/servicemix-3.2.x and trunk).
> I will try to get some snapshots deployed tonight.
>
> Chris
>
> On Jan 31, 2008 1:17 PM, <yo...@wipro.com> wrote:
>
> > Hi,
> >
> > Thanks for great help !
> >
> > Have you checked-in the latest WAR file? Please let me know.
> >
> > Yes, The Apache ServiceMix WAR, its Components (Service Engines,
> > Shared Libraries and Binding components) are running on it.
> > Yes, I have restarted the Geronimo.
> >
> > Thanks,
> > Yogesh
> >
> > -----Original Message-----
> > From: chris.custine@gmail.com [mailto:chris.custine@gmail.com] On
> > Behalf Of Chris Custine
> > Sent: Friday, February 01, 2008 12:44 AM
> > To: users@servicemix.apache.org
> > Cc: SIDDHARTHA CHANDURKAR (WT01 - Computing, Storage & Software
> > Products); Ahmadbasha Shaik (WT01 - Computing, Storage & Software
> > Products)
> > Subject: Re: Facing issues while deploying Apache ServiceMix 3.2.1 WAR
>
> > file in Apache Geronimo 2.0.2.
> >
> > I fixed https://issues.apache.org/activemq/browse/SM-1214 by changing
> > the short name to a valid string.  It looks like those files were
> > added last year to fix some other issue so I didn't want to remove
> them.
> >
> > Your first error below looks like a known Geronimo issue, but from
> > what I understand it can be ignored:
> > http://issues.apache.org/bugzilla/show_bug.cgi?id=44261
> >
> > The second issue could any number of things.  Do you have other apps
> > running on this Geronimo instance and did you restart Geronimo after
> > the previous deployment attempts?
> >
> > Chris
> >
> > On Jan 31, 2008 11:19 AM, <yo...@wipro.com> wrote:
> >
> > > Hi,
> > >
> > > Thanks for the quick response !
> > >
> > > I removed the TLD from the TLDs "sitemesh-page.tld and
> > > sitemesh-decorator.tld" from WEB-INF. Then I got the following
> error:
> > >
> > > <<org.apache.geronimo.common.DeploymentException: Could not find TLD
>
> > > file at file:/D:/geronimo-tomcat6-jee5-2.0.2/repository/de
> > >
> >
> fault/apache-servicemix-web-3.2.1/1201801563876/apache-servicemix-web-3.
> > > 2.1-1201801563876.war/WEB-INF/sitemesh-decorator.tld>>
> > >
> > > Solution Applied
> > > ================
> > >
> > > As you said, that TLDs in sitemash.jar file are proper, so I copied
> > > the TLDs from the JAR to WEB-INF.
> > > Now, I am getting the following errors:
> > >
> > > Error 1:
> > > ========
> > >
> > >  <<Module 14/38 org.apache.geronimo.configs/tomcat6/2.0.2/car
> > >
> > > 23:40:26,742 ERROR [[/]] "Restricted listeners property file not
> > > found>>
> > >
> > > Error 2:
> > > ========
> > >
> > > <<23:41:57,164 ERROR [[jsp]] Servlet.service() for servlet jsp threw
>
> > > exception
> > > java.lang.OutOfMemoryError: PermGen space
> > > 23:42:00,564 ERROR [CoyoteAdapter] An exception or error occurred in
>
> > > the container during the request processing
> > > java.lang.OutOfMemoryError: PermGen space
> > > 23:42:25,873 WARN  [ActiveMQConnection] Async exception with no
> > > exception listener: org.apache.activemq.transport.InactivityI
> > > OException: Channel was inactive for too long.
> > > 23:42:29,101 WARN  [TransportConnection] Failed to remove consumer:
> > > ID:gdc-WT-4A10-1289-1201803017481-3:1:1:1. Reason: java.l
> > > ang.OutOfMemoryError: PermGen space
> > > java.lang.OutOfMemoryError: PermGen space Exception in thread "RMI
> > > RenewClean-[10.105.115.139:9999]"
> > > java.lang.OutOfMemoryError: PermGen space Exception in thread
> > > "Persistence Adaptor Task"
> > > java.lang.OutOfMemoryError: PermGen space Exception in thread
> > > "myTimerEvent" java.lang.OutOfMemoryError: PermGen
> > > space>>
> > >
> > > Please provide your help.
> > >
> > > Regards,
> > > Yogesh
> > >
> > >
> > > -----Original Message-----
> > > From: chris.custine@gmail.com [mailto:chris.custine@gmail.com] On
> > > Behalf Of Chris Custine
> > > Sent: Thursday, January 31, 2008 10:54 PM
> > > To: users@servicemix.apache.org
> > > Cc: SIDDHARTHA CHANDURKAR (WT01 - Computing, Storage & Software
> > > Products); Ahmadbasha Shaik (WT01 - Computing, Storage & Software
> > > Products)
> > > Subject: Re: Facing issues while deploying Apache ServiceMix 3.2.1
> > > WAR
> >
> > > file in Apache Geronimo 2.0.2.
> > >
> > > I have seen this come up several times on the mailing list in the
> > > last
> >
> > > 6 months, so I suspect that some of the newer servlet containers are
>
> > > validating the tld better these days.  The problem is that the
> > > sitemesh-decorator.tld that is included in the WEB-INF dir of the
> > > webapp is invalid since it has whitespace in the short-name tag.
> > > The Sitemesh jar file has a valid TLD in it already so I am going to
>
> > > try removing the older invalid TLD files from the web app.
> > >
> > > I created an issue for this here:
> > > https://issues.apache.org/activemq/browse/SM-1214
> > >
> > > Thanks,
> > > Chris
> > >
> > > On Jan 31, 2008 8:25 AM, <yo...@wipro.com> wrote:
> > >
> > > >  Hi,
> > > >
> > > > We are facing issues while deploying Apache ServiceMix 3.2.1 WAR
> > > > file in Apache Geronimo 2.0.2.
> > > >
> > > > Following are the details on the environment we are using, steps
> > > > that we performed, the error that we are getting and the various
> > > > workarounds tried by us:
> > > >
> > > > Environment Details:
> > > > ==============
> > > > Operating System : Windows XP (Version 2002, Service Pack 2) JDK :
> > > > JDK
> > >
> > > > 1.5.0_06 Application Server : Apache Geronimo version 2.0.2 (
> > > > geronimo-tomcat6-jee5-2.0.2)
> > > > ESB : Apache ServiceMix version 3.2.1
> > > >
> > > > Steps Performed:
> > > > ============
> > > > We have to run Apache ServiceMix in Apache Geronimo, so we
> > > > downloaded the ServiceMix WAR file (Apache ServiceMix Web
> > > > Application 3.2.1
> > > > (.war)) from the following URL:
> > > >
> > > >
> > *http://servicemix.apache.org/download.html*<http://servicemix.apache.
> > > > org/download.html>
> > > >
> > > > After deployment from Geronimo Web Interface, the following
> > > > message gets displayed on Geronimo:
> > > > The application was successfully deployed.
> > > > The application was successfully started.
> > > > After successful deployment, we have accessed the following URL
> > > > and see the ServiceMix Web Interface:
> > > >
> > *http://localhost:8080/apache-servicemix-web-3.2.1/*<http://localhost:
> > > > 8080/apache-servicemix-web-3.2.1/>
> > > >
> > > > But, we are getting the following errors on the Geronimo Server
> > > console:
> > > >
> > > > << error: cvc-datatype-valid.1.1: string value 'SiteMesh Decorator
> > > Tags'
> > > > does not match pattern for tld-canonical-nameType in namespace *
> > > > http://java.sun.com/xml/ns/javaee*
> > > > <http://java.sun.com/xml/ns/javaee>
> > >
> > > > >>
> > > >
> > > > Detailed errors are attached in this mail.
> > > >
> > > > Please provide your help.
> > > >
> > > > Regards,
> > > > Yogesh
> > > >
> > > > <<Deploying ServiceMix WAR on Geronimo.txt>>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > *P** Please do not print this email unless it is absolutely
> > necessary.
> > > > Spread environmental awareness.*
> > > >
> > > > The information contained in this electronic message and any
> > > > attachments to this message are intended for the exclusive use of
> > > > the
> > > > addressee(s) and may contain proprietary, confidential or
> > > > privileged
> >
> > > > information. If you are not the intended recipient, you should not
>
> > > > disseminate, distribute or copy this e-mail. Please notify the
> > > > sender immediately and destroy all copies of this message and any
> > > attachments.
> > > >
> > > > WARNING: Computer viruses can be transmitted via email. The
> > > > recipient should check this email and any attachments for the
> > > > presence of viruses. The company accepts no liability for any
> > > > damage
> >
> > > > caused by any
> > >
> > > > virus transmitted by this email.
> > > >
> > > > www.wipro.com
> > > >
> > >
> > > Please do not print this email unless it is absolutely necessary.
> > > Spread environmental awareness.
> > >
> > > The information contained in this electronic message and any
> > > attachments to this message are intended for the exclusive use of
> > > the
> > > addressee(s) and may contain proprietary, confidential or privileged
>
> > > information. If you are not the intended recipient, you should not
> > > disseminate, distribute or copy this e-mail. Please notify the
> > > sender immediately and destroy all copies of this message and any
> > attachments.
> > >
> > > WARNING: Computer viruses can be transmitted via email. The
> > > recipient should check this email and any attachments for the
> > > presence of viruses. The company accepts no liability for any damage
>
> > > caused by any
> >
> > > virus transmitted by this email.
> > >
> > > www.wipro.com
> > >
> >
> > Please do not print this email unless it is absolutely necessary.
> > Spread environmental awareness.
> >
> > The information contained in this electronic message and any
> > attachments to this message are intended for the exclusive use of the
> > addressee(s) and may contain proprietary, confidential or privileged
> > information. If you are not the intended recipient, you should not
> > disseminate, distribute or copy this e-mail. Please notify the sender
> > immediately and destroy all copies of this message and any
> attachments.
> >
> > WARNING: Computer viruses can be transmitted via email. The recipient
> > should check this email and any attachments for the presence of
> > viruses. The company accepts no liability for any damage caused by any
>
> > virus transmitted by this email.
> >
> > www.wipro.com
> >
>
> Please do not print this email unless it is absolutely necessary. Spread
> environmental awareness.
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com
>