Hi Chris, I have deployed the ServiceMix WAR file on Apache Geronimo (after modifying the TLDs) suggested by you.
Following are the details on the environment we are using, steps that we performed: 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 I have installed the sample example - bridge and wsdl-first using the Web interface of ServiceMix (deployed on Geronimo). And the status of both the examples is "started" on the Web Interface of ServiceMix, but when I tried to access the sample application using client.html under their respective examples folder (http://localhost:8192/PersonService/ and http://localhost:8192/bridge/) that comes with ServiceMix binaries, its showing me status - 12029 as a response. I have searched the internet and found that Status - 12029 means "A connection with the server could not be established". Then I checked whether the servicemix is running on port 8192 using netstat -a | find "8192". It gave me no results. When the ServiceMix WAR file is deployed in Apache Geronimo, how to access the servicemix application running on Apache Geronimo? Please help me in the same. Thanks in advance ! Thanks, Yogesh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Custine Sent: Friday, February 01, 2008 1:59 AM To: [email protected] 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, <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Chris Custine > Sent: Friday, February 01, 2008 12:44 AM > To: [email protected] > 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, <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > Behalf Of Chris Custine > > Sent: Thursday, January 31, 2008 10:54 PM > > To: [email protected] > > 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, <[EMAIL PROTECTED]> 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
