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-tp28737820p28827881.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to