Yes yes Now it worked. I copied the instance.properties file (from fuse 4.2 installation directory) to a temporary folder C:\tmp and set -Dstorage.location=file:C:/tmp in catalina.bat As u said i ignored the message. After that when i tested it using jconsole,servicemix connection was successful.. so war is deployed successfully. now I am trying to deploy a JBI service assembly inside that.
Anto P wrote: > > I ignored that message. Even after that message ServiceMix is starting up. > So wait for some more time for server to start up. It is taking some time > to deploy all the components and first time it took 4 or 5 minutes. > > > Another thing I noted is that, Tomcat cannot be stopped by pressing CTRL+C > on the command window console in Windows. First I have to shutdown SMX > through remote admin client and shutdown Tomcat. When running Tomcat > shutdown.bat it prints lots of stacktraces on the console and shuts down. > > Anto > > > > bea123 wrote: >> >> Hi, >> I tried it but still getting error >> >> I added >> set CATALINA_OPTS=-Xms256m -Xmx1024m -Dstorage.location=file:C:/tmp >> in catalina.bat file. >> After that i started tomcat and still got the same kind of error : >> >> INFO: Deploying web application archive web-4.2.0.war >> contextInitialized >> Root: C:\Tomcat6\webapps\web-4.2.0\WEB-INF\servicemix >> Unable to update instance pid: file:C:\tmp\instance.properties (The >> filename, directory name, or volume label syntax is incorrect) >> Jun 9, 2010 2:29:38 PM org.apache.felix.karaf.main.SimpleFileLock lock >> INFO: locking >> >> All servicemix folders i.e. ant,deploy,etc,... are getting created inside >> web-4.2.0\WEB-INF\servicemix >> >> I checked servicemix.log file. It's showing error: >> java.io.FileNotFoundException: etc\activemq-broker.xml (The system cannot >> find the path specified) >> although activemq-broker.xml file is there at >> web-4.2.0\WEB-INF\servicemix\etc >> >> and activemq-data folder is getting created in tomcat's bin folder >> (activemq-data\localhost\tmp_storage) >> >> >> >> >> >> >> >> Jean-Baptiste Onofré wrote: >>> >>> Hi, >>> >>> you can try to add the -Dstorage.location=file:/tmp for example property >>> in the catalina.sh/startup.sh. >>> >>> Regards >>> JB >>> >>> On 06/09/2010 08:40 AM, bea123 wrote: >>>> >>>> Hi cmoulliard, >>>> >>>> I tried to create a war file using your maven project. The war is >>>> created >>>> successfully,but I am not able to deploy it successfully in tomcat. >>>> >>>> Console is as follows: >>>> >>>> INFO: Deploying web application archive web-4.2.0.war >>>> contextInitialized >>>> Root: C:\Tomcat6\webapps\web-4.2.0\WEB-INF\servicemix >>>> Unable to update instance pid: System property 'storage.location' is >>>> not >>>> set. >>>> This property needs to be set to the full path of the >>>> instance.properties >>>> file. >>>> Jun 9, 2010 11:40:20 AM org.apache.felix.karaf.main.SimpleFileLock lock >>>> INFO: locking >>>> >>>> I am not able to find out the problem,what setting should be done? >>>> >>>> >>>> >>>> Anto P wrote: >>>>> >>>>> Adding some other useful info. >>>>> >>>>> Username/password for command line client - smx/smx >>>>> >>>>> To download jar files from internet when installing new features if >>>>> using >>>>> proxy connection >>>>> Set http proxy for internet >>>>> Edit etc/system.properties(web-4.2.0\WEB-INF\servicemix\etc) and add >>>>> these >>>>> properties >>>>> >>>>> http.proxyHost=proxyservername >>>>> http.proxyPort=proxyserverport >>>>> >>>>> Install webconsole by executing following command >>>>> >>>>> features:install webconsole >>>>> >>>>> Web console is accessible at http://localhost:8181/system/console >>>>> >>>>> Username/password for web console - karaf/karaf. >>>>> >>>>> >>>>> >>>>> >>>>> Anto P wrote: >>>>>> >>>>>> >>>>>> SMX 4.2. >>>>>> >>>>>> I logged in with java -jar karaf-client.jar -u smx -p smx. >>>>>> >>>>>> It will be good to add the username password to the README of >>>>>> web-smx. >>>>>> >>>>>> Thanks for the help. >>>>>> >>>>>> >>>>>> >>>>>> Freeman Fang wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> What's smx version? >>>>>>> >>>>>>> Could you try >>>>>>> java -jar karaf-client.jar -u smx -p smx >>>>>>> or >>>>>>> java -jar karaf-client.jar -u karaf -p karaf >>>>>>> >>>>>>> It depend on the version you are using. >>>>>>> >>>>>>> You can use >>>>>>> java -jar karaf-client.jar --help >>>>>>> to get valid argument list. >>>>>>> >>>>>>> Freeman >>>>>>> On 2010-6-4, at 下午3:29, Charles Moulliard wrote: >>>>>>> >>>>>>>> No idea. >>>>>>>> >>>>>>>> Charles Moulliard >>>>>>>> >>>>>>>> Senior Enterprise Architect (J2EE, .NET, SOA) >>>>>>>> Apache Camel/ServiceMix Committer >>>>>>>> >>>>>>>> ******************************************************************* >>>>>>>> - Blog : http://cmoulliard.blogspot.com >>>>>>>> - Twitter : http://twitter.com/cmoulliard >>>>>>>> - Linkedlin : http://www.linkedin.com/in/charlesmoulliard >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Jun 2, 2010 at 2:15 PM, Anto P<[email protected]> >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> I created the war files following instructions in README. When >>>>>>>>> tried to >>>>>>>>> connect using karaf-client.jar it is giving message >>>>>>>>> "Authentication >>>>>>>>> failure". What should be the reason? >>>>>>>>> >>>>>>>>> >>>>>>>>> cmoulliard wrote: >>>>>>>>>> >>>>>>>>>> To be verified but I think so. >>>>>>>>>> >>>>>>>>>> Kind regards, >>>>>>>>>> >>>>>>>>>> Charles Moulliard >>>>>>>>>> >>>>>>>>>> Senior Enterprise Architect (J2EE, .NET, SOA) >>>>>>>>>> Apache Camel/ServiceMix Committer >>>>>>>>>> >>>>>>>>>> ******************************************************************* >>>>>>>>>> - Blog : http://cmoulliard.blogspot.com >>>>>>>>>> - Twitter : http://twitter.com/cmoulliard >>>>>>>>>> - Linkedlin : http://www.linkedin.com/in/charlesmoulliard >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Jun 1, 2010 at 1:58 PM, Anto P<[email protected]> >>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>> Will it have ServiceMix web console from 3.3? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> cmoulliard wrote: >>>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> I have created a maven project for that : >>>>>>>>>>>> https://issues.apache.org/activemq/browse/SMX4-456 >>>>>>>>>>>> We will integrate it in the next release of SMX4 but you can >>>>>>>>>>>> try >>>>>>>>>>>> it. >>>>>>>>>>>> >>>>>>>>>>>> Kind regards, >>>>>>>>>>>> >>>>>>>>>>>> Charles Moulliard >>>>>>>>>>>> >>>>>>>>>>>> Senior Enterprise Architect (J2EE, .NET, SOA) >>>>>>>>>>>> Apache Camel/ServiceMix Committer >>>>>>>>>>>> >>>>>>>>>>>> ******************************************************************* >>>>>>>>>>>> - Blog : http://cmoulliard.blogspot.com >>>>>>>>>>>> - Twitter : http://twitter.com/cmoulliard >>>>>>>>>>>> - Linkedlin : http://www.linkedin.com/in/charlesmoulliard >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Jun 1, 2010 at 7:28 AM, Anto P<[email protected]> >>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> Hi, >>>>>>>>>>>>> >>>>>>>>>>>>> I am currently using ServiceMix 3.3 and deploys it to >>>>>>>>>>>>> JBoss >>>>>>>>>>>>> using >>>>>>>>>>>>> ServiceMix WAR file. I am using the hot deploy feature and >>>>>>>>>>>>> needs to >>>>>>>>>>>>> deploy/undeploy service assembly. Where I can find the WAR >>>>>>>>>>>>> file >>>>>>>>>>>>> for SMX >>>>>>>>>>>>> 4.2? >>>>>>>>>>>>> >>>>>>>>>>>>> Anto >>>>>>>>>>>>> -- >>>>>>>>>>>>> View this message in context: >>>>>>>>>>>>> http://old.nabble.com/Deploy-ServiceMix-4.2-as-WAR-file-tp28737820p28737820.html >>>>>>>>>>>>> Sent from the ServiceMix - User mailing list archive at >>>>>>>>>>>>> Nabble.com. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ----- >>>>>>>>>>>> Charles Moulliard >>>>>>>>>>>> SOA Architect >>>>>>>>>>>> >>>>>>>>>>>> My Blog : http://cmoulliard.blogspot.com/ >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> View this message in context: >>>>>>>>>>> http://old.nabble.com/Deploy-ServiceMix-4.2-as-WAR-file-tp28737820p28740831.html >>>>>>>>>>> Sent from the ServiceMix - User mailing list archive at >>>>>>>>>>> Nabble.com. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ----- >>>>>>>>>> Charles Moulliard >>>>>>>>>> SOA Architect >>>>>>>>>> >>>>>>>>>> My Blog : http://cmoulliard.blogspot.com/ >>>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> View this message in context: >>>>>>>>> http://old.nabble.com/Deploy-ServiceMix-4.2-as-WAR-file-tp28737820p28753572.html >>>>>>>>> Sent from the ServiceMix - User mailing list archive at >>>>>>>>> Nabble.com. >>>>>>>>> >>>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Freeman Fang >>>>>>> ------------------------ >>>>>>> Open Source SOA: http://fusesource.com >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>> >>> >> >> > > -- View this message in context: http://old.nabble.com/Deploy-ServiceMix-4.2-as-WAR-file-tp28737820p28851446.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
